Class JpegLoadException
Namespace: Aspose.Imaging.CoreExceptions.ImageFormats
Assembly: Aspose.Imaging.dll (25.4.0)
Represents the JPEG image loading exception.
public class JpegLoadException : JpegException, ISerializable
Inheritance
object ← Exception ← ImageException ← JpegException ← JpegLoadException
Implements
Inherited Members
Exception.GetBaseException() , Exception.ToString() , Exception.GetType() , Exception.TargetSite , Exception.Message , Exception.Data , Exception.InnerException , Exception.HelpLink , Exception.Source , Exception.HResult , Exception.StackTrace , Exception.SerializeObjectState , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
JpegLoadException(string)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException class.
public JpegLoadException(string message)
Parameters
message
string
The exception message.
JpegLoadException(string, Exception)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException class.
public JpegLoadException(string message, Exception innerException)
Parameters
message
string
The message.
innerException
Exception
The inner exception.
JpegLoadException(string, ErrorReason)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException class.
public JpegLoadException(string message, JpegLoadException.ErrorReason reason)
Parameters
message
string
The exception message.
reason
JpegLoadException
.
ErrorReason
The reason of error.
JpegLoadException(string, Exception, ErrorReason)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.JpegLoadException class.
public JpegLoadException(string message, Exception innerException, JpegLoadException.ErrorReason reason)
Parameters
message
string
The exception message.
innerException
Exception
The inner exception.
reason
JpegLoadException
.
ErrorReason
The reason of error.
Properties
Reason
Gets or sets the reason of error.
public JpegLoadException.ErrorReason Reason { get; set; }