CPDFOptimizeException class
Error raised by the document optimization APIs.
The code values are stable across platforms:
DOCUMENT_INVALID- the document has been released or is invalid.INVALID_OUTPUT_PATH- the output path is empty, not writable, its parent directory is missing, or it points at the current document.INVALID_OPTIMIZE_OPTIONS- the options payload is incomplete or holds out of range values.OPTIMIZE_ALREADY_RUNNING- another optimization run is already in flight on this document. iOS allows a single run across all documents.OPTIMIZE_FAILED- the native run reported a failure.OPTIMIZE_RESTORE_FAILED- the opened document could not be reloaded from its original source and still holds the optimized content. Do not save it: doing so would overwrite the source file. Close and reopen the document instead.
- Implemented types
Constructors
- CPDFOptimizeException(String code, String message)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited