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:
-
Serializable
Bad password exception.
- See Also:
-
Field Summary
Fields inherited from class com.itextpdf.kernel.exceptions.PdfException
object
-
Constructor Summary
ConstructorDescriptionBadPasswordException
(String message) Creates a new BadPasswordException.BadPasswordException
(String message, Throwable cause) Creates a new BadPasswordException. -
Method Summary
Methods inherited from class com.itextpdf.kernel.exceptions.PdfException
getMessage, getMessageParams, setMessageParams
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PdfReaderNotOpenedWithOwnerPassword
- See Also:
-
-
Constructor Details
-
BadPasswordException
Creates a new BadPasswordException.- Parameters:
-
message
- the detail message. -
cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-
BadPasswordException
Creates a new BadPasswordException.- Parameters:
-
message
- the detail message.
-