public enum EnumRetCode extends java.lang.Enum<EnumRetCode>
Enum Constant and Description |
---|
ERROR |
NULL_CMD_ARG |
NULL_COMP_OPT |
NULL_SRC |
NULL_STDIN |
OVERLOADED |
SUCCESS |
UNKNOWN_KEY_SESSION |
UNKNOWN_LANG |
UNKNOWN_REF |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
get the description associated to this EnumRetCode
|
int |
getRetCode()
get the error code associated to this EnumRetCode
|
static EnumRetCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumRetCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumRetCode ERROR
public static final EnumRetCode SUCCESS
public static final EnumRetCode OVERLOADED
public static final EnumRetCode UNKNOWN_LANG
public static final EnumRetCode UNKNOWN_REF
public static final EnumRetCode UNKNOWN_KEY_SESSION
public static final EnumRetCode NULL_SRC
public static final EnumRetCode NULL_COMP_OPT
public static final EnumRetCode NULL_CMD_ARG
public static final EnumRetCode NULL_STDIN
public static EnumRetCode[] values()
for (EnumRetCode c : EnumRetCode.values()) System.out.println(c);
public static EnumRetCode 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 getRetCode()
public java.lang.String getDescription()