Package com.bytedesk.call.xml_curl.enums
Enum Class ExceptionStatusEnum
- All Implemented Interfaces:
Serializable,Comparable<ExceptionStatusEnum>,Constable
- Author:
- danmo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1100菜单1200角色1000 用户异常 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptionStatusEnumReturns the enum constant of this class with the specified name.static ExceptionStatusEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR_COMMON
-
ERROR_LOGIN_VERIFY
-
ERROR_LOGIN_USER
-
ERROR_USERID_NOT_NULL
1000 用户异常 -
ERROR_USER_NAME_EXISTENCE
-
ERROR_CORP_USER_ID_EXISTENCE
-
ERROR_USERID_NOT_EXIST
-
ERROR_MENUID_NOT_NULL
1100菜单 -
ERROR_ROLEID_NOT_NULL
1200角色
-
-
Field Details
-
code
private int code -
msg
-
-
Constructor Details
-
ExceptionStatusEnum
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-