|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--edu.harvard.hul.ois.jhove.module.pdf.PdfException | +--edu.harvard.hul.ois.jhove.module.pdf.PdfInvalidException
Exception subclass used internally by the PDF module. A PdfInvalidException is thrown when a condition indicates that the document is invalid but not necessarily ill-formed.
Constructor Summary | |
PdfInvalidException(java.lang.String m)
Creates a PdfInvalidException. |
|
PdfInvalidException(java.lang.String m,
long offset)
Creates a PdfInvalidException with specified offset. |
|
PdfInvalidException(java.lang.String m,
long offset,
Token token)
Creates a PdfInvalidException with specified offset and token. |
Method Summary | |
void |
disparage(RepInfo info)
Performs the appropriate disparagement act on a RepInfo object. |
Methods inherited from class edu.harvard.hul.ois.jhove.module.pdf.PdfException |
getOffset, getToken |
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 |
Constructor Detail |
public PdfInvalidException(java.lang.String m)
public PdfInvalidException(java.lang.String m, long offset)
public PdfInvalidException(java.lang.String m, long offset, Token token)
Method Detail |
public void disparage(RepInfo info)
setValid (false)
.
disparage
in class PdfException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |