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
public class JwtRuntimeException extends RuntimeException
Represents a generic exception for JWT operations.- Since:
 - 2.0.0
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description JwtRuntimeException(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 Detail
- 
JwtRuntimeException
public JwtRuntimeException(String message)
Constructs a new JwtRuntimeException with the provided exception message.- Parameters:
 message- The exception message.
 
- 
JwtRuntimeException
public JwtRuntimeException(String message, Throwable throwable)
Constructs a new JwtRuntimeException with the provided exception message and underlying throwable.- Parameters:
 message- The exception message.throwable- The underlying throwable.
 
- 
JwtRuntimeException
public JwtRuntimeException(Throwable throwable)
Constructs a new JwtRuntimeException with the provided underlying throwable.- Parameters:
 throwable- The underlying throwable.
 
 - 
 
 -