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
ConstructorsConstructorDescriptionJwtEncodingException(String message) Constructs aJwtEncodingExceptionusing the provided parameters.JwtEncodingException(String message, Throwable cause) Constructs aJwtEncodingExceptionusing 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 aJwtEncodingExceptionusing the provided parameters.- Parameters:
message- the detail message
-
JwtEncodingException
Constructs aJwtEncodingExceptionusing the provided parameters.- Parameters:
message- the detail messagecause- the root cause
-