Class ImageProcessingException
The exception that is thrown when an error occurs when applying a process to an image.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class ImageProcessingException : Exception, ISerializableConstructors
| Improve this Doc View SourceImageProcessingException()
Initializes a new instance of the ImageProcessingException class.
Declaration
public ImageProcessingException()ImageProcessingException(String)
Initializes a new instance of the ImageProcessingException class with the name of the parameter that causes this exception.
Declaration
public ImageProcessingException(string errorMessage)Parameters
| Type | Name | Description | 
|---|---|---|
| String | errorMessage | The error message that explains the reason for this exception. | 
ImageProcessingException(String, Exception)
Initializes a new instance of the ImageProcessingException class with a specified error message and the exception that is the cause of this exception.
Declaration
public ImageProcessingException(string errorMessage, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| String | errorMessage | The error message that explains the reason for this exception. | 
| Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |