public class PdfException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
private long |
_offset
The position where the error was found, or -1 if no
position information is available.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
long |
getOffset()
Returns the position where the error was found.
|
private long _offset
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.