public abstract class PdfException extends Exception
Constructor and Description |
---|
PdfException(String m)
Create a PdfException.
|
PdfException(String m,
long offset)
Create a PdfException with specified offset.
|
PdfException(String m,
long offset,
Token token)
Create a PdfException with specified offset and token.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
disparage(RepInfo info)
Performs the appropriate disparagement act on a RepInfo
object, such as setting the valid or well-formed
flag to
false . |
long |
getOffset()
Returns the offset at which the exception occurred.
|
Token |
getToken()
Return the token associated with the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PdfException(String m)
public PdfException(String m, long offset)
public long getOffset()
public Token getToken()
public abstract void disparage(RepInfo info)
false
.Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.