public class PdfParseException extends ParseException
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorCode |
protected boolean |
isTokenMgrError |
protected int |
line |
currentToken, EOL, expectedTokenSequences, tokenImage| Constructor and Description |
|---|
PdfParseException(ParseException e)
This constructor clones the given ParseException and initialize the errorCode if it is possible.
|
PdfParseException(String message)
This constructor calls the PdfParseException(String message, String code) constructor with a code set to null.
|
PdfParseException(String message,
String code)
This constructor is generally used when the PDF validation fails due to a TokenMngError.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Get the validation error code
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected boolean isTokenMgrError
protected String errorCode
protected int line
public PdfParseException(ParseException e)
e - public PdfParseException(String message)
message - the explanation message (The message of TokenMngError). This field is mandatory.public PdfParseException(String message, String code)
message - the explanation message (The message of TokenMngError). This field is mandatory.code - the error code if it can be determined by the creator of this exception (Can be null)public String getErrorCode()
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.