OperationCancelledException Class Documentation
class OperationCancelledException : ErrorNamespace:datalogics_interface
- Inherits from:
Error
Detailed Description
Thrown when a user-supplied progress callback returns false to cancel a long-running operation. Distinct from WebConvertError so that non-coupling catch handlers can quietly handle cancellation without also being aware of the web-conversion subsystem.
Constructor & Destructor Documentation
OperationCancelledException
OperationCancelledException()OperationCancelledException
OperationCancelledException(const std::string & message)Parameters
message: const std::string &
Member Function Documentation
get_error_code
DL_ERROR_MEMBER int get_error_code()Returns:
DL_ERROR_MEMBER intThe Adobe PDF Library error code, or 0 when the failure carries none.
Decode the value with the APDFL ErrGetSeverity, ErrGetSystem and ErrGetCode macros, or compare it against a whole code.