Class JweDecryptionCheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.json.jose.exceptions.JweDecryptionCheckedException
-
- All Implemented Interfaces:
Serializable
public class JweDecryptionCheckedException extends Exception
This exception entirely duplicatesJweDecryptionException
except that it is a checked exception so that it can be used with aPromise
. 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 Summary
Constructors Constructor Description JweDecryptionCheckedException()
Constructs 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
-
-