com.aspose.email

com.aspose.email

Class AsposeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FileCorruptedException, FormatNotSupportedException
public class AsposeException
extends RuntimeException

Base exceptioon type for Aspose.Email Represents errors that occur during application execution.

See Also:
Serialized Form

Constructor Summary
AsposeException()
Initializes a new instance of the T:Aspose.Email.AsposeException class.
AsposeException(RuntimeException innerException)
Initializes a new instance of the T:Aspose.Email.AsposeException class with a reference to the inner exception that is the cause of this exception.
AsposeException(String message)
Initializes a new instance of the T:Aspose.Email.AsposeException class with a specified error message.
AsposeException(String message, RuntimeException innerException)
Initializes a new instance of the T:Aspose.Email.AsposeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

    • Constructor Detail

      • AsposeException

        public AsposeException()

        Initializes a new instance of the T:Aspose.Email.AsposeException class.

      • AsposeException

        public AsposeException(String message)

        Initializes a new instance of the T:Aspose.Email.AsposeException class with a specified error message.

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

        public AsposeException(String message,
                               RuntimeException innerException)

        Initializes a new instance of the T:Aspose.Email.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(RuntimeException innerException)

        Initializes a new instance of the T:Aspose.Email.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.