Class JpegLoadException
- Namespace
- Aspose.Imaging.CoreExceptions.ImageFormats
- Assembly
- Aspose.Imaging.dll
Represents the JPEG image loading exception.
public class JpegLoadException : JpegException, ISerializable
- Inheritance
-
JpegLoadException
- Implements
- Inherited Members
Constructors
JpegLoadException(string)
Initializes a new instance of the JpegLoadException class.
public JpegLoadException(string message)
Parameters
message
stringThe exception message.
JpegLoadException(string, ErrorReason)
Initializes a new instance of the JpegLoadException class.
public JpegLoadException(string message, JpegLoadException.ErrorReason reason)
Parameters
message
stringThe exception message.
reason
JpegLoadException.ErrorReasonThe reason of error.
JpegLoadException(string, Exception)
Initializes a new instance of the JpegLoadException class.
public JpegLoadException(string message, Exception innerException)
Parameters
JpegLoadException(string, Exception, ErrorReason)
Initializes a new instance of the JpegLoadException class.
public JpegLoadException(string message, Exception innerException, JpegLoadException.ErrorReason reason)
Parameters
message
stringThe exception message.
innerException
ExceptionThe inner exception.
reason
JpegLoadException.ErrorReasonThe reason of error.
Properties
Reason
Gets or sets the reason of error.
public JpegLoadException.ErrorReason Reason { get; set; }
Property Value
- JpegLoadException.ErrorReason
The reason of error.