Package com.itextpdf.kernel.exceptions
Class BadPasswordException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.itextpdf.commons.exceptions.ITextException
-
- com.itextpdf.kernel.exceptions.PdfException
-
- com.itextpdf.kernel.exceptions.BadPasswordException
-
- All Implemented Interfaces:
java.io.Serializable
public class BadPasswordException extends PdfException
Bad password exception.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PdfReaderNotOpenedWithOwnerPassword
-
Fields inherited from class com.itextpdf.kernel.exceptions.PdfException
object
-
-
Constructor Summary
Constructors Constructor Description BadPasswordException(java.lang.String message)
Creates a new BadPasswordException.BadPasswordException(java.lang.String message, java.lang.Throwable cause)
Creates a new BadPasswordException.
-
Method Summary
-
Methods inherited from class com.itextpdf.kernel.exceptions.PdfException
getMessage, getMessageParams, setMessageParams
-
-
-
-
Field Detail
-
PdfReaderNotOpenedWithOwnerPassword
public static final java.lang.String PdfReaderNotOpenedWithOwnerPassword
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BadPasswordException
public BadPasswordException(java.lang.String message, java.lang.Throwable cause)
Creates a new BadPasswordException.- Parameters:
message
- the detail message.cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-
BadPasswordException
public BadPasswordException(java.lang.String message)
Creates a new BadPasswordException.- Parameters:
message
- the detail message.
-
-