public static enum ErrorEvent.ErrorType extends java.lang.Enum<ErrorEvent.ErrorType>
Enum Constant and Description |
---|
GENERIC |
NUMERIC_ERROR |
UNRESOLVED_HOSTNAME |
Modifier and Type | Method and Description |
---|---|
static ErrorEvent.ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorEvent.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorEvent.ErrorType NUMERIC_ERROR
public static final ErrorEvent.ErrorType UNRESOLVED_HOSTNAME
public static final ErrorEvent.ErrorType GENERIC
public static ErrorEvent.ErrorType[] values()
for (ErrorEvent.ErrorType c : ErrorEvent.ErrorType.values()) System.out.println(c);
public static ErrorEvent.ErrorType 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 null