public enum IcatExceptionType extends Enum<IcatExceptionType>
Java class for icatExceptionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="icatExceptionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="BAD_PARAMETER"/> <enumeration value="INTERNAL"/> <enumeration value="INSUFFICIENT_PRIVILEGES"/> <enumeration value="NO_SUCH_OBJECT_FOUND"/> <enumeration value="OBJECT_ALREADY_EXISTS"/> <enumeration value="SESSION"/> <enumeration value="VALIDATION"/> </restriction> </simpleType>
Enum Constant and Description |
---|
BAD_PARAMETER |
INSUFFICIENT_PRIVILEGES |
INTERNAL |
NO_SUCH_OBJECT_FOUND |
OBJECT_ALREADY_EXISTS |
SESSION |
VALIDATION |
Modifier and Type | Method and Description |
---|---|
static IcatExceptionType |
fromValue(String v) |
String |
value() |
static IcatExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IcatExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IcatExceptionType BAD_PARAMETER
public static final IcatExceptionType INTERNAL
public static final IcatExceptionType INSUFFICIENT_PRIVILEGES
public static final IcatExceptionType NO_SUCH_OBJECT_FOUND
public static final IcatExceptionType OBJECT_ALREADY_EXISTS
public static final IcatExceptionType SESSION
public static final IcatExceptionType VALIDATION
public static IcatExceptionType[] values()
for (IcatExceptionType c : IcatExceptionType.values()) System.out.println(c);
public static IcatExceptionType 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 IcatExceptionType fromValue(String v)
Copyright © 2012 The ICAT Collaboration. All Rights Reserved.