AsposeArgumentException

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

public class AsposeArgumentException extends AsposeException

The exception that is thrown when one of the arguments provided to a method is not valid.

``` 1 ```

Constructors

Constructor Description
AsposeArgumentException() Initializes a new instance of the AsposeArgumentException class.
AsposeArgumentException(String message) Initializes a new instance of the AsposeArgumentException class with a specified error message.
AsposeArgumentException(String format, String parameter) Initializes a new instance of the AsposeArgumentException class with a specified error message.
AsposeArgumentException(String format, Object[] parameters) Initializes a new instance of the AsposeArgumentException class with a specified error message.
AsposeArgumentException(String message, Throwable innerException) Initializes a new instance of the AsposeArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
AsposeArgumentException(Throwable innerException) Initializes a new instance of the AsposeArgumentException class with a reference to the inner exception that is the cause of this exception.

AsposeArgumentException()

public AsposeArgumentException()

Initializes a new instance of the AsposeArgumentException class.

AsposeArgumentException(String message)

public AsposeArgumentException(String message)

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

Parameters:

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

AsposeArgumentException(String format, String parameter)

public AsposeArgumentException(String format, String parameter)

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

Parameters:

Parameter Type Description
format java.lang.String Message format
parameter java.lang.String

AsposeArgumentException(String format, Object[] parameters)

public AsposeArgumentException(String format, Object[] parameters)

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

Parameters:

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

AsposeArgumentException(String message, Throwable innerException)

public AsposeArgumentException(String message, Throwable innerException)

Initializes a new instance of the AsposeArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

Parameter Type Description
message java.lang.String The error message that explains the reason for the exception.
innerException java.lang.Throwable The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

AsposeArgumentException(Throwable innerException)

public AsposeArgumentException(Throwable innerException)

Initializes a new instance of the AsposeArgumentException class with a reference to the inner exception that is the cause of this exception.

Parameters:

Parameter Type Description
innerException java.lang.Throwable The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.