ImapException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.email.AsposeException

public class ImapException extends AsposeException

Represents the exception that is thrown when the ImapClient is not able to complete an operation.

Constructors

Constructor 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.

ImapException()

public ImapException()

Initializes a new instance of the ImapException class.

ImapException(String message)

public ImapException(String message)

Initializes a new instance of the ImapException class.

Parameters:

Parameter Type Description
message java.lang.String A String that describes the error that occurred.

ImapException(String format, Object[] parameters)

public ImapException(String format, Object[] parameters)

Initializes a new instance of the ImapException class with a specified error message.

Parameters:

Parameter Type Description
format java.lang.String Message format
parameters java.lang.Object[] Format parameters

ImapException(String message, RuntimeException innerException)

public ImapException(String message, RuntimeException innerException)

Initializes a new instance of the ImapException class.

Parameters:

Parameter Type Description
message java.lang.String A String that describes the error that occurred.
innerException java.lang.RuntimeException The exception that is the cause of the current exception.