Package com.snowtide.pdf
Class EncryptedPDFException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.snowtide.pdf.EncryptedPDFException
-
- All Implemented Interfaces:
Serializable
public class EncryptedPDFException extends IOException
A subclass of IOException that is thrown by PDFxStream constructors if one of the following conditions occurs:- a variety of encryption is encountered that PDFxStream does not support
- an error occurs while decrypting PDF data
- an incorrect password is provided to one of the PDFxStream constructors
- Version:
- ©2004-2024 Snowtide
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EncryptedPDFException.ErrorType
An enumeration of the set of possibleerror types
that can be indicated by a thrownEncryptedPDFException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedPDFException.ErrorType
getErrorType()
Returns anEncryptedPDFException.ErrorType
this exception's cause.String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getErrorType
public EncryptedPDFException.ErrorType getErrorType()
Returns anEncryptedPDFException.ErrorType
this exception's cause.
-
-