Class JweDecryptionCheckedException

  • All Implemented Interfaces:
    Serializable

    public class JweDecryptionCheckedException
    extends Exception
    This exception entirely duplicates JweDecryptionException except that it is a checked exception so that it can be used with a Promise. As for the runtime equivalent, this exception deliberately records no details of the error that occurred to avoid leaking details to an attacker. Developers should log the root cause of a decryption failure before throwing this exception.
    See Also:
    Serialized Form
    • Constructor Detail

      • JweDecryptionCheckedException

        public JweDecryptionCheckedException()
        Constructs the exception with a basic message indicating that decryption failed.