Class JwtEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.oauth2.jwt.JwtException
org.springframework.security.oauth2.jwt.JwtEncodingException
- All Implemented Interfaces:
Serializable
This exception is thrown when an error occurs while attempting to encode a JSON Web
Token (JWT).
- Since:
- 5.6
- See Also:
-
Constructor Summary
ConstructorDescriptionJwtEncodingException
(String message) Constructs aJwtEncodingException
using the provided parameters.JwtEncodingException
(String message, Throwable cause) Constructs aJwtEncodingException
using the provided parameters. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JwtEncodingException
Constructs aJwtEncodingException
using the provided parameters.- Parameters:
message
- the detail message
-
JwtEncodingException
Constructs aJwtEncodingException
using the provided parameters.- Parameters:
message
- the detail messagecause
- the root cause
-