public enum ThrowExceptions extends Enum<ThrowExceptions>
Java class for ThrowExceptions.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ThrowExceptions">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="THROW_ALL"/>
<enumeration value="THROW_FIRST"/>
<enumeration value="THROW_NONE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
THROW_ALL |
THROW_FIRST |
THROW_NONE |
| Modifier and Type | Method and Description |
|---|---|
static ThrowExceptions |
fromValue(String v) |
String |
value() |
static ThrowExceptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrowExceptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThrowExceptions THROW_ALL
public static final ThrowExceptions THROW_FIRST
public static final ThrowExceptions THROW_NONE
public static ThrowExceptions[] values()
for (ThrowExceptions c : ThrowExceptions.values()) System.out.println(c);
public static ThrowExceptions 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 nullpublic String value()
public static ThrowExceptions fromValue(String v)
Copyright © 2019. All rights reserved.