public enum CoreErrorMessage extends Enum<CoreErrorMessage> implements ErrorMessage
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode() |
String |
getMsg() |
int |
getStatusCode() |
static CoreErrorMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreErrorMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreErrorMessage SYSTEM_ERROR
public static final CoreErrorMessage USER_NOT_EXIST
public static final CoreErrorMessage API_GET_DTO_ERROR
public static final CoreErrorMessage NEW_INSTANCE_ERROR
public static final CoreErrorMessage ITEM_ID_NOT_NULL
public static final CoreErrorMessage ITEM_NOT_FOUND
public static final CoreErrorMessage QUERY_ENTITY_MAX_HAS_ENTITY_ANNOTATION
public static final CoreErrorMessage ENCRYPT_ERROR
public static final CoreErrorMessage PARAM_NOT_TREE
public static final CoreErrorMessage DECRYPT_ERROR
public static final CoreErrorMessage CANNOT_FIND_FIELD
public static final CoreErrorMessage CANNOT_FIND_FIELD_WITH_ANNOTATION
public static final CoreErrorMessage COPY_ERROR
public static final CoreErrorMessage CODE_NOT_EXIST
public static final CoreErrorMessage TOKEN_NOT_VALID
public static final CoreErrorMessage USER_ID_NOT_NULL
public static final CoreErrorMessage SHOULD_LOGIN
public static final CoreErrorMessage PARAM_ERROR
public static final CoreErrorMessage AUTHORIZATION_ERROR
public static final CoreErrorMessage VALIDATOR_INIT_ERROR
public static final CoreErrorMessage MD5_NOT_EXIST
public static final CoreErrorMessage DTO_CLASS_NOT_EXIST
public static final CoreErrorMessage FIELD_IS_NULL
public static final CoreErrorMessage FIELD_NOT_EXIST_WRITE_METHOD
public static CoreErrorMessage[] values()
for (CoreErrorMessage c : CoreErrorMessage.values()) System.out.println(c);
public static CoreErrorMessage 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 nullpublic Integer getCode()
getCode in interface ErrorMessagepublic String getMsg()
getMsg in interface ErrorMessagepublic int getStatusCode()
getStatusCode in interface ErrorMessageCopyright © 2020. All rights reserved.