AsposeArgumentNullException

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

public class AsposeArgumentNullException extends AsposeArgumentException

The ArgumentException is thrown when an argument is null when it shouldn’t be.

Constructors

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

AsposeArgumentNullException()

public AsposeArgumentNullException()

Initializes a new instance of the AsposeArgumentNullException class.

AsposeArgumentNullException(String message)

public AsposeArgumentNullException(String message)

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

Parameters:

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

AsposeArgumentNullException(String format, String parameters)

public AsposeArgumentNullException(String format, String parameters)

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

Parameters:

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

AsposeArgumentNullException(String format, Object[] parameters)

public AsposeArgumentNullException(String format, Object[] parameters)

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

Parameters:

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

AsposeArgumentNullException(String message, Throwable innerException)

public AsposeArgumentNullException(String message, Throwable innerException)

Initializes a new instance of the AsposeException 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.

AsposeArgumentNullException(Throwable innerException)

public AsposeArgumentNullException(Throwable innerException)

Initializes a new instance of the AsposeArgumentNullException 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.