com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AsposeException

    • Constructor Detail

      • AsposeException

        public AsposeException()

        Initializes a new instance of the AsposeException class.

      • AsposeException

        public AsposeException(String message)

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

        Parameters:
        message - The message that describes the error.
      • AsposeException

        public AsposeException(String format,
                       Object... parameters)

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

        Parameters:
        format - Message format
        parameters - Format parameters
      • AsposeException

        public AsposeException(String format,
                       String parameter)
      • AsposeException

        public AsposeException(String message,
                       Throwable innerException)

        Initializes a new instance of the AsposeException class with a specified error message and a reference to the inner exception that is the cause of this exception.

        Parameters:
        message - The error message that explains the reason for the exception.
        innerException - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
      • AsposeException

        public AsposeException(Throwable innerException)

        Initializes a new instance of the AsposeException class with a reference to the inner exception that is the cause of this exception.

        Parameters:
        innerException - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
    • Method Detail

      • getMessage

        public String getMessage()

        Gets a message that describes the current exception.

        Overrides:
        getMessage in class Throwable
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class com.aspose.ms.System.Exception
        Returns:
        A string that represents the current object.
      • getErrorDetails

        public final Object getErrorDetails()

        Gets extra information aboout error