com.aspose.email
Class AsposeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aspose.email.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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.


Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.