Class AsposeException
Contents
[
Hide
]AsposeException class
The base class of the exceptions thrown by Aspose.Email.
public class AsposeException : Exception
Constructors
| Name | Description |
|---|---|
| AsposeException() | Initializes a new instance of the AsposeException class. |
| AsposeException(Exception) | Initializes a new instance of the AsposeException class with a reference to the exception that caused it. |
| AsposeException(string) | Initializes a new instance of the AsposeException class with the specified error message. |
| AsposeException(string, Exception) | Initializes a new instance of the AsposeException class with the specified error message and a reference to the exception that caused it. |
| AsposeException(string, params object[]) | Initializes a new instance of the AsposeException class with an error message built from a composite format string. |
| AsposeException(string, string) | Initializes a new instance of the AsposeException class with an error message built from a format string with one argument. |
Properties
| Name | Description |
|---|---|
| ErrorDetails { get; } | Gets additional information about the error, if the operation provides any. |
| override Message { get; } | Gets the message that describes the error. |
Methods
| Name | Description |
|---|---|
| override ToString() | Returns the type, the message and the stack trace of the exception. |
Remarks
Catch this type to handle any error that the library reports with its own exception types, such as FormatNotSupportedException, SmtpException or ImapException.
See Also
- namespace Aspose.Email
- assembly Aspose.Email