Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.pdfbox.preflight.exception.ValidationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContentStreamException
,MissingValidationProcessException
,SyntaxValidationException
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integer
private static final long
serial version number -
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(String message) ValidationException
(String message, Throwable cause) ValidationException
(String message, Throwable cause, Integer pageNumber) ValidationException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the page number related to the exception, or null if not known.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserial version number- See Also:
-
pageNumber
-
-
Constructor Details
-
ValidationException
-
ValidationException
-
ValidationException
-
ValidationException
-
-
Method Details
-
getPageNumber
Returns the page number related to the exception, or null if not known.
-