Class JweEncryptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.forgerock.json.jose.exceptions.JwtRuntimeException
org.forgerock.json.jose.exceptions.JweException
org.forgerock.json.jose.exceptions.JweEncryptionException
- All Implemented Interfaces:
Serializable
Represents an exception for when encryption of the JWE fails.
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionJweEncryptionException
(String message) Constructs a new JweEncryptionException with the provided exception message.JweEncryptionException
(String message, Throwable throwable) Constructs a new JweEncryptionException with the provided exception message and underlying throwable.JweEncryptionException
(Throwable throwable) Constructs a new JweEncryptionException with the provided underlying throwable. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JweEncryptionException
Constructs a new JweEncryptionException with the provided exception message.- Parameters:
message
- The exception message.
-
JweEncryptionException
Constructs a new JweEncryptionException with the provided exception message and underlying throwable.- Parameters:
message
- The exception message.throwable
- The underlying throwable.
-
JweEncryptionException
Constructs a new JweEncryptionException with the provided underlying throwable.- Parameters:
throwable
- The underlying throwable.
-