Enum Constant and Description |
---|
ERR_INVALID_LENGTH |
ERR_REPLY_INVALID_ERROR_CODE |
ERR_REPLY_INVALID_PARAMETER |
ERR_REPLY_TIMEOUT |
EVENT_END |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
int |
getValue() |
static Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error ERR_REPLY_TIMEOUT
public static final Error ERR_REPLY_INVALID_ERROR_CODE
public static final Error ERR_INVALID_LENGTH
public static final Error ERR_REPLY_INVALID_PARAMETER
public static final Error EVENT_END
public static Error[] values()
for (Error c : Error.values()) System.out.println(c);
public static Error 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 getValue()
public java.lang.String getMessage()