public static enum RpcError.ErrorType extends Enum<RpcError.ErrorType>
| Enum Constant and Description |
|---|
APPLICATION
Indicates an error occurred during internal processing.
|
PROTOCOL
Indicates an error at a protocol layer, eg if invalid data was passed by the caller.
|
RPC
Indicates an error occurred during a remote procedure call.
|
TRANSPORT
Indicates an error occurred during transport of data, eg over the network.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcError.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcError.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcError.ErrorType TRANSPORT
public static final RpcError.ErrorType RPC
public static final RpcError.ErrorType PROTOCOL
public static final RpcError.ErrorType APPLICATION
public static RpcError.ErrorType[] values()
for (RpcError.ErrorType c : RpcError.ErrorType.values()) System.out.println(c);
public static RpcError.ErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 OpenDaylight. All rights reserved.