public static enum WidgetValidationRTException.E10201 extends java.lang.Enum<WidgetValidationRTException.E10201> implements ServiceErrorCode
Enum Constant and Description |
---|
M00
Default message.
|
M01
Code {0} of the widget has bad value.
|
M02
Name of the widget is blank.
|
M03
Name {0} of the widget has bad value.
|
M04
Description {0} of the widget has bad value.
|
M05
Attribute
Code must not be blank. |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
msg |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<WidgetValidationRTException> |
getExceptionClass()
Returns class of exception which is owner of this error code.
|
java.lang.String |
getMessage()
Gets a message related to the error code.
|
static WidgetValidationRTException.E10201 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WidgetValidationRTException.E10201[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Code
must not be blank.for (WidgetValidationRTException.E10201 c : WidgetValidationRTException.E10201.values()) System.out.println(c);
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullServiceErrorCode
getMessage
in interface ServiceErrorCode
ErrorCode
getExceptionClass
in interface ErrorCode