|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.snowtide.pdf.EncryptedPDFException
public class EncryptedPDFException
A subclass of IOException that is thrown by PDFTextStream constructors if one of the following conditions occurs:
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
java.lang.Object |
getErrorType()
Returns an object indicating the type of error that caused this exception to be thrown. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
public java.lang.Object getErrorType()
public java.lang.String toString()
toString in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||