public enum ResultEnum extends Enum<ResultEnum>
| Enum Constant and Description |
|---|
ASSERT_ERROR |
AUTHORIZATION_EXPIRATION |
NOT_AUTHORITY_ERROR |
NOT_FOUND_ERROR |
NOT_LOGIN_ERROR |
NULL_ERROR |
OK |
PARAM_VERIFY_ERROR |
TOKEN_TAMPER_ERROR |
UNKNOWN_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static ResultEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultEnum OK
public static final ResultEnum AUTHORIZATION_EXPIRATION
public static final ResultEnum TOKEN_TAMPER_ERROR
public static final ResultEnum NOT_LOGIN_ERROR
public static final ResultEnum NOT_AUTHORITY_ERROR
public static final ResultEnum NOT_FOUND_ERROR
public static final ResultEnum ASSERT_ERROR
public static final ResultEnum NULL_ERROR
public static final ResultEnum PARAM_VERIFY_ERROR
public static final ResultEnum UNKNOWN_ERROR
public static ResultEnum[] values()
for (ResultEnum c : ResultEnum.values()) System.out.println(c);
public static ResultEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.