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.RuntimeException
Base 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 aJwtException
using the provided parameters.JwtException(java.lang.String message, java.lang.Throwable cause)
Constructs aJwtException
using the provided parameters.
-
-
-
Constructor Detail
-
JwtException
public JwtException(java.lang.String message)
Constructs aJwtException
using the provided parameters.- Parameters:
message
- the detail message
-
JwtException
public JwtException(java.lang.String message, java.lang.Throwable cause)
Constructs aJwtException
using the provided parameters.- Parameters:
message
- the detail messagecause
- the root cause
-
-