Enum Constant and Description |
---|
CANNOT_FORWARD
A node received and understood the request, but failed to forward it to another node.
|
DISCONNECTED
The node being waited on to provide a response disconnected.
|
OVERLOAD
A node cannot accept the request because its probe DoS protection has tripped.
|
TIMEOUT
Timed out while waiting for a response.
|
UNKNOWN
An error occurred, but a node did not recognize the error used.
|
UNRECOGNIZED_TYPE
A remote node did not recognize the requested probe type.
|
Modifier and Type | Field and Description |
---|---|
byte |
code
Stable numerical value to represent the enum value.
|
Modifier and Type | Method and Description |
---|---|
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 DISCONNECTED
public static final Error OVERLOAD
public static final Error TIMEOUT
public static final Error UNKNOWN
public static final Error UNRECOGNIZED_TYPE
public static final Error CANNOT_FORWARD
Probe.MAX_SEND_ATTEMPTS
public final byte code
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 null