Class BadPasswordException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BadPasswordException
    extends PdfException
    Bad password exception.
    See Also:
    Serialized Form
    • 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 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 by Throwable.getCause() method).
      • BadPasswordException

        public BadPasswordException​(java.lang.String message)
        Creates a new BadPasswordException.
        Parameters:
        message - the detail message.