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.
<filterpriority>1</filterpriority>
Constructor and Description |
---|
AsposeNotSupportedException()
Initializes a new instance of the
AsposeNotSupportedException class. |
AsposeNotSupportedException(com.aspose.ms.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. |
AsposeNotSupportedException(String message)
Initializes a new instance of the
AsposeNotSupportedException class with a specified error message. |
AsposeNotSupportedException(String message,
com.aspose.ms.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(String format,
Object... parameters)
Initializes a new instance of the
AsposeArgumentOutOfRangeException class with a specified error message. |
AsposeNotSupportedException(String format,
String parameter) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets a message that describes the current exception.
|
String |
toString()
Returns a string that represents the current object.
|
getErrorDetails
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AsposeNotSupportedException()
Initializes a new instance of the AsposeNotSupportedException
class.
public AsposeNotSupportedException(String message)
Initializes a new instance of the AsposeNotSupportedException
class with a specified error message.
message
- The message that describes the error.public AsposeNotSupportedException(String format, Object... parameters)
Initializes a new instance of the AsposeArgumentOutOfRangeException
class with a specified error message.
format
- Message formatparameters
- Format parameterspublic AsposeNotSupportedException(String message, com.aspose.ms.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.
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public AsposeNotSupportedException(com.aspose.ms.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.
innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public String getMessage()
Gets a message that describes the current exception.
getMessage
in class AsposeException
public String toString()
Returns a string that represents the current object.
toString
in class AsposeException