public class PDFCosParseException extends PDFInvalidDocumentException
| Modifier and Type | Class and Description |
|---|---|
static class |
PDFCosParseException.CosParseErrorType
This enum contains the possible errors which can occur while parsing PDf document.
|
| Constructor and Description |
|---|
PDFCosParseException(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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorType(PDFCosParseException.CosParseErrorType errorType) |
boolean |
hasErrorType(PDFCosParseException.CosParseErrorType type) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PDFCosParseException(String message)
message - the detail message.public PDFCosParseException(String message, Throwable cause)
message - the detail message.cause - the cause.public PDFCosParseException(Throwable cause)
cause - the cause.public boolean hasErrorType(PDFCosParseException.CosParseErrorType type)
public void addErrorType(PDFCosParseException.CosParseErrorType errorType)
Copyright © 2010 - 2020 Adobe. All Rights Reserved