MailException

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

public class MailException extends System.Exception

Represents the exception that is thrown when the mail message processing.

Constructors

Constructor Description
MailException() Initializes a new instance of the MailException class.
MailException(String message) Initializes a new instance of the MailException class.
MailException(String message, Throwable inner) Initializes a new instance of the ``` MailException ``` class.

MailException()

public MailException()

Initializes a new instance of the MailException class.

MailException(String message)

public MailException(String message)

Initializes a new instance of the MailException class.

Parameters:

Parameter Type Description
message java.lang.String The message.

MailException(String message, Throwable inner)

public MailException(String message, Throwable inner)

Initializes a new instance of the ``` MailException ``` class.

Parameters:

Parameter Type Description
message java.lang.String The message.
inner java.lang.Throwable The inner.