|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.etymon.pj.exception.PjException
com.etymon.pj.exception.PdfFormatException
public class PdfFormatException
An exception that gets thrown when the parser encounters invalid PDF data.
| Field Summary | |
|---|---|
private int |
_errorOffset
|
| Constructor Summary | |
|---|---|
PdfFormatException(java.lang.String s)
Creates a PdfFormatException with a detailed message. |
|
PdfFormatException(java.lang.String s,
int errorOffset)
Creates a PdfFormatException with a detailed message and offset. |
|
| Method Summary | |
|---|---|
int |
getErrorOffset()
Returns the position where the error was found. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int _errorOffset
| Constructor Detail |
|---|
public PdfFormatException(java.lang.String s)
s - the detailed message.
public PdfFormatException(java.lang.String s,
int errorOffset)
s - the detailed message.errorOffset - the position where the error is found
while parsing.| Method Detail |
|---|
public int getErrorOffset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||