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 SummaryConstructorsConstructorDescriptionJwtEncodingException(String message) Constructs aJwtEncodingExceptionusing the provided parameters.JwtEncodingException(String message, Throwable cause) Constructs aJwtEncodingExceptionusing the provided parameters.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
JwtEncodingExceptionConstructs aJwtEncodingExceptionusing the provided parameters.- Parameters:
- message- the detail message
 
- 
JwtEncodingExceptionConstructs aJwtEncodingExceptionusing the provided parameters.- Parameters:
- message- the detail message
- cause- the root cause
 
 
-