public static enum CommandExecutionException.Error extends java.lang.Enum<CommandExecutionException.Error>
| Enum Constant | Description |
|---|---|
DEVICE_NOT_FOUND |
|
EMPTY_RESPONSE |
|
INVALID_PARAMETERS |
|
INVALID_RESPONSE |
|
IP_OR_TOKEN_UNKNOWN |
|
NOT_IMPLEMENTED |
|
TIMEOUT |
|
UNKNOWN |
|
UNKNOWN_METHOD |
| Modifier and Type | Field | Description |
|---|---|---|
int |
cause |
| Modifier and Type | Method | Description |
|---|---|---|
static CommandExecutionException.Error |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CommandExecutionException.Error[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandExecutionException.Error TIMEOUT
public static final CommandExecutionException.Error UNKNOWN_METHOD
public static final CommandExecutionException.Error DEVICE_NOT_FOUND
public static final CommandExecutionException.Error EMPTY_RESPONSE
public static final CommandExecutionException.Error INVALID_RESPONSE
public static final CommandExecutionException.Error IP_OR_TOKEN_UNKNOWN
public static final CommandExecutionException.Error INVALID_PARAMETERS
public static final CommandExecutionException.Error NOT_IMPLEMENTED
public static final CommandExecutionException.Error UNKNOWN
public static CommandExecutionException.Error[] values()
for (CommandExecutionException.Error c : CommandExecutionException.Error.values()) System.out.println(c);
public static CommandExecutionException.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 nullCopyright © 2018. All rights reserved.