Enum Class SystemMessage
- 所有已实现的接口:
IMessage,Serializable,Comparable<SystemMessage>,Constable
异常会话
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明文件下载异常系统异常消息参数类型不匹配异常错误警告空指针异常数字转换异常参数解析异常反射处理异常类型异常成功异常抛出用户自定义异常 -
方法概要
修饰符和类型方法说明static SystemMessageReturns the enum constant of this class with the specified name.static SystemMessage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
INFO
消息 -
SUCCESS
成功 -
NORMAL_WARNING
警告 -
NORMAL_ERROR
错误 -
EXCEPTION
系统异常 -
PARAM_PARSE_EXCEPTION
参数解析异常 -
NULL_POINTER_EXCEPTION
空指针异常 -
RESULT_NOT_ALLOWED_EXCEPTION
类型异常 -
THROWABLE_EXCEPTION
异常抛出 -
NUMBER_CONVERT_EXCEPTION
数字转换异常 -
METHOD_ARGUMENT_TYPE_MISMATCH_EXCEPTION
参数类型不匹配异常 -
REFLECT_HANDLER_EXCEPTION
反射处理异常 -
DOWNLOAD_FILE_EXCEPTION
文件下载异常 -
USER_DEFINED_EXCEPTION
用户自定义异常
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- 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.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-