public static enum JsonMBean.FaultHandler extends Enum<JsonMBean.FaultHandler>
Enum Constant and Description |
---|
IGNORE_ERRORS
Ignore exceptions when deserializing
|
THROW_EXCEPTIONS
Throw exceptions
|
Modifier and Type | Method and Description |
---|---|
static JsonMBean.FaultHandler |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonMBean.FaultHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonMBean.FaultHandler IGNORE_ERRORS
public static final JsonMBean.FaultHandler THROW_EXCEPTIONS
public static JsonMBean.FaultHandler[] values()
for (JsonMBean.FaultHandler c : JsonMBean.FaultHandler.values()) System.out.println(c);
public static JsonMBean.FaultHandler 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 © 2017. All rights reserved.