Class JwtException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.oauth2.jwt.JwtException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadJwtException
public class JwtException extends java.lang.RuntimeExceptionBase exception for all JSON Web Token (JWT) related errors.- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwtException(java.lang.String message)Constructs aJwtExceptionusing the provided parameters.JwtException(java.lang.String message, java.lang.Throwable cause)Constructs aJwtExceptionusing the provided parameters.
-
-
-
Constructor Detail
-
JwtException
public JwtException(java.lang.String message)
Constructs aJwtExceptionusing the provided parameters.- Parameters:
message- the detail message
-
JwtException
public JwtException(java.lang.String message, java.lang.Throwable cause)Constructs aJwtExceptionusing the provided parameters.- Parameters:
message- the detail messagecause- the root cause
-
-