Class JpegException
Namespace: Aspose.Imaging.CoreExceptions.ImageFormats
Assembly: Aspose.Imaging.dll (25.7.0)
Exceptions for Jpeg files
public class JpegException : ImageException, ISerializable
{
public JpegException() { }
public JpegException(string message) : base(message) { }
public JpegException(string message, Exception innerException) : base(message, innerException) { }
protected JpegException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
Inheritance
object ← Exception ← ImageException ← JpegException
Derived
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
JpegException(string)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.JpegException class.
public JpegException(string message)
{
this.\_message = message;
}
Parameters
message
string
The exception message.
JpegException(string, Exception)
Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.JpegException class.
public JpegException(string message, Exception innerException)
{
base(message); // base class constructor call is fine here
InnerException = innerException;
}
Parameters
message
string
The message.
innerException
Exception
The inner exception.