FormatNotSupportedException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.email.AsposeException

public class FormatNotSupportedException extends AsposeException

Exception that is thrown during document load, when the document format is not recognized or not supported by the component.

Constructors

Constructor Description
FormatNotSupportedException() Initializes a new instance of the FormatNotSupportedException class.
FormatNotSupportedException(String message) Initializes a new instance of the FormatNotSupportedException class with a specified error message.
FormatNotSupportedException(String message, Throwable inner) Initializes a new instance of the FormatNotSupportedException class with a specified error message.

FormatNotSupportedException()

public FormatNotSupportedException()

Initializes a new instance of the FormatNotSupportedException class.

FormatNotSupportedException(String message)

public FormatNotSupportedException(String message)

Initializes a new instance of the FormatNotSupportedException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String A message that describes the error.

FormatNotSupportedException(String message, Throwable inner)

public FormatNotSupportedException(String message, Throwable inner)

Initializes a new instance of the FormatNotSupportedException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String A message that describes the error.
inner java.lang.Throwable The exception causing the current exception.