NotSupportedException

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

public class NotSupportedException extends System.ApplicationException

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

Constructors

ConstructorDescription
NotSupportedException()Initializes a new instance of the NotSupportedException class.
NotSupportedException(String message)Initializes a new instance of the NotSupportedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

NotSupportedException()

public NotSupportedException()

Initializes a new instance of the NotSupportedException class.

NotSupportedException(String message)

public NotSupportedException(String message)

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

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe error message that explains the reason for the exception.