Class JwtException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.oauth2.jwt.JwtException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadJwtException,- JwtEncodingException
Base exception for all JSON Web Token (JWT) related errors.
- Since:
- 5.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionJwtException(String message) Constructs aJwtExceptionusing the provided parameters.JwtException(String message, Throwable cause) Constructs aJwtExceptionusing 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- 
JwtExceptionConstructs aJwtExceptionusing the provided parameters.- Parameters:
- message- the detail message
 
- 
JwtExceptionConstructs aJwtExceptionusing the provided parameters.- Parameters:
- message- the detail message
- cause- the root cause
 
 
-