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:
java.io.Serializable
public class JwtEncodingException extends JwtException
This exception is thrown when an error occurs while attempting to encode a JSON Web Token (JWT).- Since:
- 5.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwtEncodingException(java.lang.String message)
Constructs aJwtEncodingException
using the provided parameters.JwtEncodingException(java.lang.String message, java.lang.Throwable cause)
Constructs aJwtEncodingException
using the provided parameters.
-
-
-
Constructor Detail
-
JwtEncodingException
public JwtEncodingException(java.lang.String message)
Constructs aJwtEncodingException
using the provided parameters.- Parameters:
message
- the detail message
-
JwtEncodingException
public JwtEncodingException(java.lang.String message, java.lang.Throwable cause)
Constructs aJwtEncodingException
using the provided parameters.- Parameters:
message
- the detail messagecause
- the root cause
-
-