C# Class ImageTools.ImageFormatException

The exception that is thrown when the library tries to load an iamge, which has an invalid format.
Inheritance: System.Exception
Mostra file Open project: prepare/HTML-Renderer

Public Methods

Method Description
ImageFormatException ( ) : System

Initializes a new instance of the ImageFormatException class.

ImageFormatException ( string errorMessage ) : System

Initializes a new instance of the ImageFormatException class with the name of the parameter that causes this exception.

ImageFormatException ( string errorMessage, Exception innerEx ) : System

Initializes a new instance of the ImageFormatException class with a specified error message and the exception that is the cause of this exception.

Method Details

ImageFormatException() public method

Initializes a new instance of the ImageFormatException class.
public ImageFormatException ( ) : System
return System

ImageFormatException() public method

Initializes a new instance of the ImageFormatException class with the name of the parameter that causes this exception.
public ImageFormatException ( string errorMessage ) : System
errorMessage string The error message that explains the reason for this exception.
return System

ImageFormatException() public method

Initializes a new instance of the ImageFormatException class with a specified error message and the exception that is the cause of this exception.
public ImageFormatException ( string errorMessage, Exception innerEx ) : System
errorMessage string The error message that explains the reason for this exception.
innerEx System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) /// if no inner exception is specified.
return System