Class PDFCosParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adobe.internal.pdftoolkit.core.exceptions.PDFException
com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException
com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException
- All Implemented Interfaces:
Serializable
This exception indicates a low level parsing problem at the Cos
level has occurred. This should never be exposed to client level API.
Only the Cos layer and any method which takes a Cos object should throw
this. Other methods should wrap it as appropriate -
often with PDFInvalidDocumentException.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
This enum contains the possible errors which can occur while parsing PDf document. -
Constructor Summary
ConstructorsConstructorDescriptionPDFCosParseException
(String message) Create a new PDFCosParseException.PDFCosParseException
(String message, Throwable cause) Create a new PDFCosParseException wrapping an existing exception.PDFCosParseException
(Throwable cause) Create a new PDFCosParseException wrapping an existing exception. -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PDFCosParseException
Create a new PDFCosParseException.- Parameters:
message
- the detail message.
-
PDFCosParseException
Create a new PDFCosParseException wrapping an existing exception.- Parameters:
message
- the detail message.cause
- the cause.
-
PDFCosParseException
Create a new PDFCosParseException wrapping an existing exception.- Parameters:
cause
- the cause.
-
-
Method Details
-
hasErrorType
-
addErrorType
-