ExchangeException

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

public class ExchangeException extends AsposeException

Thrown if there is a MS Exchange communication failure.

Constructors

Constructor Description
ExchangeException() Initializes a new instance of the ExchangeException class.
ExchangeException(String message) Initializes a new instance of the ExchangeException class.
ExchangeException(String format, Object[] parameters) Initializes a new instance of the ExchangeException class with a specified error message.
ExchangeException(String message, Throwable innerException) Initializes a new instance of the ExchangeException class.

ExchangeException()

public ExchangeException()

Initializes a new instance of the ExchangeException class.

ExchangeException(String message)

public ExchangeException(String message)

Initializes a new instance of the ExchangeException class.

Parameters:

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

ExchangeException(String format, Object[] parameters)

public ExchangeException(String format, Object[] parameters)

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

Parameters:

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

ExchangeException(String message, Throwable innerException)

public ExchangeException(String message, Throwable innerException)

Initializes a new instance of the ExchangeException class.

Parameters:

Parameter Type Description
message java.lang.String The error message.
innerException java.lang.Throwable The inner exception.