public static enum TokenException.Reason extends java.lang.Enum<TokenException.Reason>
| Enum Constant and Description |
|---|
EXPIRED |
INVALID |
NOT_FOUND |
NOT_YET_VALID |
| Modifier and Type | Method and Description |
|---|---|
static TokenException.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenException.Reason EXPIRED
public static final TokenException.Reason NOT_YET_VALID
public static final TokenException.Reason NOT_FOUND
public static final TokenException.Reason INVALID
public static TokenException.Reason[] values()
for (TokenException.Reason c : TokenException.Reason.values()) System.out.println(c);
public static TokenException.Reason 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 null