public enum ErrorCodes extends java.lang.Enum<ErrorCodes>
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
getMessage() |
static java.lang.String |
getMessage(int code) |
static ErrorCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCodes ANSWER_ERROR_1
public static final ErrorCodes ANSWER_ERROR_2
public static final ErrorCodes ANSWER_ERROR_3
public static final ErrorCodes ANSWER_ERROR_4
public static final ErrorCodes ANSWER_ERROR_5
public static final ErrorCodes ANSWER_ERROR_6
public static final ErrorCodes ANSWER_ERROR_7
public static final ErrorCodes ANSWER_ERROR_8
public static final ErrorCodes ANSWER_ERROR_9
public static final ErrorCodes ANSWER_ERROR_10
public static final ErrorCodes ANSWER_ERROR_11
public static final ErrorCodes ANSWER_ERROR_12
public static final ErrorCodes ANSWER_ERROR_13
public static final ErrorCodes ANSWER_ERROR_14
public static final ErrorCodes ANSWER_ERROR_18
public static final ErrorCodes ANSWER_ERROR_21
public static final ErrorCodes ANSWER_ERROR_22
public static ErrorCodes[] values()
for (ErrorCodes c : ErrorCodes.values()) System.out.println(c);
public static ErrorCodes valueOf(java.lang.String name)
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 nullpublic int getCode()
public java.lang.String getMessage()
public static java.lang.String getMessage(int code)