Class COSSecurityException

  • All Implemented Interfaces:
    java.io.Serializable

    public class COSSecurityException
    extends COSException
    Raised when a PDF's encryption dictionary names a security handler this API doesn't implement (anything other than the Standard security handler), or when the supplied password is wrong (neither the user nor the owner password could be authenticated).
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • COSSecurityException

        public COSSecurityException​(java.lang.String message)
      • COSSecurityException

        public COSSecurityException​(java.lang.String message,
                                    java.lang.Throwable cause)