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