public static enum ClientReconfigurationPacket.ResponseCodes extends java.lang.Enum<ClientReconfigurationPacket.ResponseCodes>
Enum Constant and Description |
---|
ACTIVE_REPLICA_EXCEPTION
If an active replica receives a request for a name that is not
replicated at there.
|
DUPLICATE_ERROR
If a name being created already exists.
|
GENERIC_EXCEPTION |
IO_EXCEPTION |
MALFORMED_REQUEST
Only needed for clients using other protocols (like HTTP) or
languages.
|
NONEXISTENT_NAME_ERROR
If a reconfigurator receives a request for a name that does not
exist.
|
TIMEOUT_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
static ClientReconfigurationPacket.ResponseCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientReconfigurationPacket.ResponseCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientReconfigurationPacket.ResponseCodes DUPLICATE_ERROR
public static final ClientReconfigurationPacket.ResponseCodes ACTIVE_REPLICA_EXCEPTION
public static final ClientReconfigurationPacket.ResponseCodes NONEXISTENT_NAME_ERROR
public static final ClientReconfigurationPacket.ResponseCodes MALFORMED_REQUEST
public static final ClientReconfigurationPacket.ResponseCodes TIMEOUT_EXCEPTION
public static final ClientReconfigurationPacket.ResponseCodes IO_EXCEPTION
public static final ClientReconfigurationPacket.ResponseCodes GENERIC_EXCEPTION
public static ClientReconfigurationPacket.ResponseCodes[] values()
for (ClientReconfigurationPacket.ResponseCodes c : ClientReconfigurationPacket.ResponseCodes.values()) System.out.println(c);
public static ClientReconfigurationPacket.ResponseCodes 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