|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
edu.harvard.hul.ois.jhove.module.pdf.PdfException
edu.harvard.hul.ois.jhove.module.pdf.PdfMalformedException
public class PdfMalformedException
Exception subclass used internally by the PDF module. A PdfMalformedException is thrown when a condition indicates that the document is not well-formed.
PdfInvalidException
,
Serialized FormConstructor Summary | |
---|---|
PdfMalformedException(java.lang.String m)
Creates a PdfMalformedException. |
|
PdfMalformedException(java.lang.String m,
long offset)
Creates a PdfMalformedException with specified offset. |
|
PdfMalformedException(java.lang.String m,
long offset,
Token token)
Creates a PdfMalformedException 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 PdfMalformedException(java.lang.String m)
public PdfMalformedException(java.lang.String m, long offset)
public PdfMalformedException(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 |