public class EncryptedPDFException
extends java.io.IOException
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.Object | 
ERROR_BAD_PASSWORD
Error type indicating that a PDFTextStream instance was created without a password when one was
 needed, or that the instance was created with an incorrect password. 
 | 
static java.lang.Object | 
ERROR_SECURITY_API_FAILURE
Error type indicating that the encrypted PDF could not be decrypted because of a failure
 of the current JDK's security implementation. 
 | 
static java.lang.Object | 
ERROR_SYNTAX
Error type indicating that a decryption parameter is either missing or has an invalid value. 
 | 
static java.lang.Object | 
ERROR_UNSPECIFIED
Error type indicating an unspecified encryption error. 
 | 
static java.lang.Object | 
ERROR_UNSUPPORTED
Error type indicating that a PDF file is encrypted using a method that is unsupported by the
 current version of PDFTextStream. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
getErrorType()
Returns an object indicating the type of error that caused this exception to be thrown. 
 | 
java.lang.String | 
toString()  | 
public static final java.lang.Object ERROR_UNSPECIFIED
public static final java.lang.Object ERROR_BAD_PASSWORD
public static final java.lang.Object ERROR_SECURITY_API_FAILURE
getMessage() method.public static final java.lang.Object ERROR_UNSUPPORTED
public static final java.lang.Object ERROR_SYNTAX
public java.lang.Object getErrorType()
public java.lang.String toString()
toString in class java.lang.Throwable