// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011.08.11 at 04:38:10 AM PDT // package org.ebayopensource.turmeric.common.v1.types; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ErrorCategory. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ErrorCategory"> * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> * <enumeration value="System"/> * <enumeration value="Application"/> * <enumeration value="Request"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ErrorCategory") @XmlEnum public enum ErrorCategory { @XmlEnumValue("System") SYSTEM("System"), @XmlEnumValue("Application") APPLICATION("Application"), @XmlEnumValue("Request") REQUEST("Request"); private final String value; ErrorCategory(String v) { value = v; } public String value() { return value; } public static ErrorCategory fromValue(String v) { for (ErrorCategory c: ErrorCategory.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }