Class JweDecryptionCheckedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.json.jose.exceptions.JweDecryptionCheckedException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConstructs the exception with a basic message indicating that decryption failed. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JweDecryptionCheckedException
public JweDecryptionCheckedException()Constructs the exception with a basic message indicating that decryption failed.
-