| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.etymon.pj.exception.PjException com.etymon.pj.exception.PdfFormatException
PdfFormatException | public class PdfFormatException extends PjException (Code) | | An exception that gets thrown when the parser encounters invalid
PDF data.
author: Nassib Nassar |
Method Summary | |
public int | getErrorOffset() Returns the position where the error was found. |
PdfFormatException | public PdfFormatException(String s)(Code) | | Creates a PdfFormatException with a detailed message.
Parameters: s - the detailed message. |
PdfFormatException | public PdfFormatException(String s, int errorOffset)(Code) | | Creates a PdfFormatException with a detailed message and
offset. A detailed message is a String that describes this
particular exception.
Parameters: s - the detailed message. Parameters: errorOffset - the position where the error is foundwhile parsing. |
getErrorOffset | public int getErrorOffset()(Code) | | Returns the position where the error was found.
the position where the error was found or -1 if noposition information is available. |
|
|
|