AsposeNotSupportedException

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

public class AsposeNotSupportedException extends AsposeException

The exception that is thrown when an invoked method or parameter is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.

``` 1 ```

Constructors

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

Methods

Method Description
getMessage() Gets a message that describes the current exception.
toString() Returns a string that represents the current object.

AsposeNotSupportedException()

public AsposeNotSupportedException()

Initializes a new instance of the AsposeNotSupportedException class.

AsposeNotSupportedException(String message)

public AsposeNotSupportedException(String message)

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

Parameters:

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

AsposeNotSupportedException(String format, String parameter)

public AsposeNotSupportedException(String format, String parameter)

Parameters:

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

AsposeNotSupportedException(String format, Object[] parameters)

public AsposeNotSupportedException(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

AsposeNotSupportedException(String message, System.Exception innerException)

public AsposeNotSupportedException(String message, System.Exception innerException)

Initializes a new instance of the AsposeNotSupportedException 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 com.aspose.ms.System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

AsposeNotSupportedException(System.Exception innerException)

public AsposeNotSupportedException(System.Exception innerException)

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

Parameters:

Parameter Type Description
innerException com.aspose.ms.System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

getMessage()

public String getMessage()

Gets a message that describes the current exception.

Returns: java.lang.String

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.