| Enum Constant and Description |
|---|
ACCESS_DEINE |
AUTH_EXCEPTION |
CONSTRAINT_VIOLATION_MSG |
EXISTENCE_EXCEPTION |
FAIL |
FORCED_OUT |
PARAM_ERROR |
REFRESHTOKEN_OVERTIME |
RELATION_EXCEPTION |
SERVER_ERROR |
SIGN_INVALID |
SUCCESS |
TOKEN_INVALID |
TOKEN_OVERTIME |
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
code |
(package private) java.lang.String |
message |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
java.lang.String |
message() |
static RCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RCode SUCCESS
public static final RCode FAIL
public static final RCode SERVER_ERROR
public static final RCode REFRESHTOKEN_OVERTIME
public static final RCode TOKEN_OVERTIME
public static final RCode TOKEN_INVALID
public static final RCode SIGN_INVALID
public static final RCode AUTH_EXCEPTION
public static final RCode EXISTENCE_EXCEPTION
public static final RCode PARAM_ERROR
public static final RCode ACCESS_DEINE
public static final RCode FORCED_OUT
public static final RCode RELATION_EXCEPTION
public static final RCode CONSTRAINT_VIOLATION_MSG
public static RCode[] values()
for (RCode c : RCode.values()) System.out.println(c);
public static RCode 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 int code()
public java.lang.String message()