public class OperationCanceledException extends AsposeException
Represents errors that occur when an operation canceled.
Constructor and Description |
---|
OperationCanceledException()
Initializes a new instance of the
OperationCanceledException class. |
OperationCanceledException(String message)
Initializes a new instance of the
OperationCanceledException class with a specified error message. |
OperationCanceledException(String message,
com.aspose.ms.System.Exception innerException)
Initializes a new instance of the
OperationCanceledException class
with a specified error message and a reference to the inner exception that is the cause of this exception. |
OperationCanceledException(String format,
Object... parameters)
Initializes a new instance of the
OperationCanceledException class with a specified error message. |
getErrorDetails, getMessage, toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public OperationCanceledException()
Initializes a new instance of the OperationCanceledException
class.
public OperationCanceledException(String message)
Initializes a new instance of the OperationCanceledException
class with a specified error message.
message
- The message that describes the error.public OperationCanceledException(String format, Object... parameters)
Initializes a new instance of the OperationCanceledException
class with a specified error message.
format
- Message formatparameters
- Format parameterspublic OperationCanceledException(String message, com.aspose.ms.System.Exception innerException)
Initializes a new instance of the OperationCanceledException
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.