Class JweException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.forgerock.json.jose.exceptions.JwtRuntimeException
org.forgerock.json.jose.exceptions.JweException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JweCompressionException
,JweDecryptionException
,JweEncryptionException
Represents a generic exception for JWE operations.
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionJweException
(String message) Constructs a new JweException with the provided exception message.JweException
(String message, Throwable throwable) Constructs a new JweException with the provided exception message and underlying throwable.JweException
(Throwable throwable) Constructs a new JweException 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
-
JweException
Constructs a new JweException with the provided exception message.- Parameters:
message
- The exception message.
-
JweException
Constructs a new JweException with the provided exception message and underlying throwable.- Parameters:
message
- The exception message.throwable
- The underlying throwable.
-
JweException
Constructs a new JweException with the provided underlying throwable.- Parameters:
throwable
- The underlying throwable.
-