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