Class FaultyPDFException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.snowtide.pdf.FaultyPDFException
-
- All Implemented Interfaces:
Serializable
public class FaultyPDFException extends IOException
Exceptions of this type are thrown by PDFxStream when it encounters such a serious error when attempting to process a PDF file that no extraction can take place. Such cases are most common when the file in question is not actually a PDF document (perhaps another type of document masquerading with a .PDF extension). In other circumstances, the document is either corrupt, or is significantly out of step with the official PDF file format specification(s). If Adobe Acrobat can successfully display the PDF file in question, then this exception being thrown is an indication of a PDFxStream bug, and should be reported to Snowtide support.
The
message
provided by this exception's getMessage() function should provide an indication of the type of error that PDFxStream encountered that prompted it to throw this exception.- Since:
- v2.0.1
- Version:
- ©2004-2024 Snowtide
- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-