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, toStringgetHResult, getInnerException, getType, setErrorCode, setHResultaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic 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.Copyright (c) 2008-2021 Aspose Pty Ltd. All Rights Reserved.