public enum JwtExceptionType extends java.lang.Enum<JwtExceptionType>
| Enum Constant and Description |
|---|
EXPIRED
ExpiredJwtException |
MALFORMED
MalformedJwtException |
UNSUPPORTED
see
UnsupportedJwtException |
WRONG_SIGNATURE
SignatureException |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode() |
static JwtExceptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JwtExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwtExceptionType UNSUPPORTED
UnsupportedJwtExceptionpublic static final JwtExceptionType MALFORMED
MalformedJwtExceptionpublic static final JwtExceptionType EXPIRED
ExpiredJwtExceptionpublic static final JwtExceptionType WRONG_SIGNATURE
SignatureExceptionpublic static JwtExceptionType[] values()
for (JwtExceptionType c : JwtExceptionType.values()) System.out.println(c);
public static JwtExceptionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getCode()