public class AsposeException
extends com.aspose.ms.System.Exception
Base exception type for Aspose.Email Represents errors that occur during application execution.
<filterpriority>1</filterpriority>
Constructor and Description |
---|
AsposeException()
Initializes a new instance of the
AsposeException class. |
AsposeException(String message)
Initializes a new instance of the
AsposeException class with a specified error message. |
AsposeException(String format,
Object... parameters)
Initializes a new instance of the
AsposeException class with a specified error message. |
AsposeException(String format,
String parameter) |
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. |
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. |
Modifier and Type | Method and Description |
---|---|
Object |
getErrorDetails()
Gets extra information aboout error
|
String |
getMessage()
Gets a message that describes the current exception.
|
String |
toString()
Returns a string that represents the current object.
|
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AsposeException()
Initializes a new instance of the AsposeException
class.
public AsposeException(String message)
Initializes a new instance of the AsposeException
class with a specified error message.
message
- The message that describes the error.public AsposeException(String format, Object... parameters)
Initializes a new instance of the AsposeException
class with a specified error message.
format
- Message formatparameters
- Format parameterspublic 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.
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.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.
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.public String getMessage()
Gets a message that describes the current exception.
getMessage
in class Throwable
public String toString()
Returns a string that represents the current object.
toString
in class com.aspose.ms.System.Exception
public final Object getErrorDetails()
Gets extra information aboout error