public class ImapException extends AsposeException
Represents the exception that is thrown when the ImapClient is not able to complete an operation.
Constructor and Description |
---|
ImapException()
Initializes a new instance of the
ImapException class. |
ImapException(String message)
Initializes a new instance of the
ImapException class. |
ImapException(String format,
Object... parameters)
Initializes a new instance of the
ImapException class with a specified error message. |
ImapException(String message,
RuntimeException innerException)
Initializes a new instance of the
ImapException class. |
getErrorDetails, getMessage, toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ImapException()
Initializes a new instance of the ImapException
class.
public ImapException(String message)
Initializes a new instance of the ImapException
class.
message
- A String that describes the error that occurred.public ImapException(String format, Object... parameters)
Initializes a new instance of the ImapException
class with a specified error message.
format
- Message formatparameters
- Format parameterspublic ImapException(String message, RuntimeException innerException)
Initializes a new instance of the ImapException
class.
message
- A String that describes the error that occurred.innerException
- The exception that is the cause of the current exception.