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