package org.jooq.conf;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
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>
/**
* <p>Java class for ThrowExceptions.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <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>
* </pre>
*
*/
@XmlType(name = "ThrowExceptions")
@XmlEnum
public enum ThrowExceptions {
THROW_ALL,
THROW_FIRST,
THROW_NONE;
public String value() {
return name();
}
public static ThrowExceptions fromValue(String v) {
return valueOf(v);
}
}