Class JwtBuilderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.forgerock.json.jose.exceptions.JwtRuntimeException
-
- org.forgerock.json.jose.exceptions.JwtBuilderException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JwtReconstructionException
public class JwtBuilderException extends JwtRuntimeException
Represents an exception that occurs when creating/rebuilding JWTs.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwtBuilderException(String message)
Constructs a new JwtBuilderException with the provided exception message.JwtBuilderException(String message, Throwable throwable)
Constructs a new JwtBuilderException with the provided exception message and underlying throwable.JwtBuilderException(Throwable throwable)
Constructs a new JwtBuilderException 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
-
JwtBuilderException
public JwtBuilderException(String message)
Constructs a new JwtBuilderException with the provided exception message.- Parameters:
message
- The exception message.
-
JwtBuilderException
public JwtBuilderException(String message, Throwable throwable)
Constructs a new JwtBuilderException with the provided exception message and underlying throwable.- Parameters:
message
- The exception message.throwable
- The underlying throwable.
-
JwtBuilderException
public JwtBuilderException(Throwable throwable)
Constructs a new JwtBuilderException with the provided underlying throwable.- Parameters:
throwable
- The underlying throwable.
-
-