AsposeInvalidOperationException

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

public class AsposeInvalidOperationException extends AsposeException

Exception class for denoting an object was in a state that made calling a method illegal.

Constructors

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

AsposeInvalidOperationException()

public AsposeInvalidOperationException()

Initializes a new instance of the AsposeInvalidOperationException class.

AsposeInvalidOperationException(String message)

public AsposeInvalidOperationException(String message)

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

Parameters:

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

AsposeInvalidOperationException(String format, String parameter)

public AsposeInvalidOperationException(String format, String parameter)

Parameters:

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

AsposeInvalidOperationException(String format, Object[] parameters)

public AsposeInvalidOperationException(String format, Object[] parameters)

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

Parameters:

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

AsposeInvalidOperationException(String message, Throwable inner)

public AsposeInvalidOperationException(String message, Throwable inner)

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

Parameters:

Parameter Type Description
message java.lang.String A message that describes the error.
inner java.lang.Throwable The exception causing the current exception.