public enum ErrorMessages extends Enum<ErrorMessages>
Enum Constant and Description |
---|
C_NULL |
CANT_CONNECT |
CANT_FIND |
CANT_LAUNCH |
CANT_LOAD |
FAILED |
G_NULL |
MUST_BE_LAUNCHED |
OPTION_MISUSED |
R_NULL |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ErrorMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorMessages FAILED
public static final ErrorMessages C_NULL
public static final ErrorMessages G_NULL
public static final ErrorMessages R_NULL
public static final ErrorMessages CANT_LAUNCH
public static final ErrorMessages OPTION_MISUSED
public static final ErrorMessages CANT_FIND
public static final ErrorMessages CANT_LOAD
public static final ErrorMessages CANT_CONNECT
public static final ErrorMessages MUST_BE_LAUNCHED
public static ErrorMessages[] values()
for (ErrorMessages c : ErrorMessages.values()) System.out.println(c);
public static ErrorMessages valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ErrorMessages>
Fabien Michel, Olivier Gutknecht, Jacques Ferber