public enum RPCExceptionCategory extends Enum<RPCExceptionCategory>
| Enum Constant and Description |
|---|
APPLICATION
exception due to application
|
OTHERS
unclear or unclassified
|
PROTOCOL
exception due to protocol
eg, incorrect input which does not conform the schema
|
TRANSPORT
exception due to transport
eg, time out, port is not open
|
| Modifier and Type | Method and Description |
|---|---|
static RPCExceptionCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RPCExceptionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RPCExceptionCategory APPLICATION
public static final RPCExceptionCategory TRANSPORT
public static final RPCExceptionCategory PROTOCOL
public static final RPCExceptionCategory OTHERS
public static RPCExceptionCategory[] values()
for (RPCExceptionCategory c : RPCExceptionCategory.values()) System.out.println(c);
public static RPCExceptionCategory 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 © 2016–2024. All rights reserved.