Enum CommonErrorEnum
-
- All Implemented Interfaces:
-
java.io.Serializable,pro.fessional.mirana.data.CodeAware,pro.fessional.mirana.i18n.CodeEnum,pro.fessional.mirana.i18n.I18nAware
public enum CommonErrorEnum implements CodeEnum- Since:
2021-03-25
trydofor
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AssertEmpty1AssertFormat1AssertNotFound1AssertExisted1AssertState2AssertParam2DataNotFoundDataExistedMessageUnreadable
-
Method Summary
Modifier and Type Method Description static Array<CommonErrorEnum>values()Returns an array containing the constants of this enum type, in the order they're declared. static CommonErrorEnumvalueOf(String name)Returns the enum constant of this type with the specified name. StringgetCode()StringgetHint()-
Methods inherited from class pro.fessional.mirana.i18n.CodeEnum
getCode, getHint, getI18nArgs, getI18nCode, getI18nHint -
Methods inherited from class pro.fessional.mirana.i18n.I18nAware
applyLocale, getI18nArgsIf, getI18nArgsOr, getI18nCodeIf, getI18nCodeOr, getI18nHintIf, getI18nHintOr, toI18nString -
Methods inherited from class pro.fessional.mirana.data.CodeAware
getCodeIf, getCodeOr -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
values
static Array<CommonErrorEnum> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static CommonErrorEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-