|
||||||||||
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.pjx.PdfException
public class PdfException
The superclass of all exceptions within this package.
Field Summary | |
---|---|
private long |
_offset
The position where the error was found, or -1 if no position information is available. |
Constructor Summary | |
---|---|
PdfException(java.lang.String s)
Creates a PdfException with a detailed message. |
|
PdfException(java.lang.String s,
long offset)
Creates a PdfException with a detailed message and offset. |
Method Summary | |
---|---|
long |
getOffset()
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 long _offset
Constructor Detail |
---|
public PdfException(java.lang.String s)
s
- the detailed message.public PdfException(java.lang.String s, long offset)
s
- the detailed message.offset
- the position where the error is found.Method Detail |
---|
public long getOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |