public static enum WireFormatContext.EXCEPTION_TYPE extends java.lang.Enum<WireFormatContext.EXCEPTION_TYPE>
Enum Constant and Description |
---|
BUSINESS_EXCEPTION |
RUNTIME_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
static WireFormatContext.EXCEPTION_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WireFormatContext.EXCEPTION_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireFormatContext.EXCEPTION_TYPE BUSINESS_EXCEPTION
public static final WireFormatContext.EXCEPTION_TYPE RUNTIME_EXCEPTION
public static WireFormatContext.EXCEPTION_TYPE[] values()
for (WireFormatContext.EXCEPTION_TYPE c : WireFormatContext.EXCEPTION_TYPE.values()) System.out.println(c);
public static WireFormatContext.EXCEPTION_TYPE 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