Class BmpImageException

Class BmpImageException

Namespace: Aspose.Imaging.CoreExceptions.ImageFormats
Assembly: Aspose.Imaging.dll (25.7.0)

The bmp image exception.

public class BmpImageException : ImageException, ISerializable
{
    public BmpImageException() { }
    public BmpImageException(string message) : base(message) { }
    public BmpImageException(string message, Exception innerException) : base(message, innerException) { }
    protected BmpImageException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}

Inheritance

object Exception ImageException BmpImageException

Implements

ISerializable

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

BmpImageException(string)

Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.BmpImageException class.

public BmpImageException(string message)
   {
      base(message); // base class constructor call
   }

Parameters

message string

The exception message.

BmpImageException(string, Exception)

Initializes a new instance of the Aspose.Imaging.CoreExceptions.ImageFormats.BmpImageException class.

public BmpImageException(string message, Exception innerException)
   {
      base(message, innerException);
   }

Parameters

message string

The exception message.

innerException Exception

The inner exception.

 English