public static enum IcatException.IcatExceptionType extends Enum<IcatException.IcatExceptionType>
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 IcatException.IcatExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IcatException.IcatExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IcatException.IcatExceptionType BAD_PARAMETER
public static final IcatException.IcatExceptionType INTERNAL
public static final IcatException.IcatExceptionType INSUFFICIENT_PRIVILEGES
public static final IcatException.IcatExceptionType NO_SUCH_OBJECT_FOUND
public static final IcatException.IcatExceptionType OBJECT_ALREADY_EXISTS
public static final IcatException.IcatExceptionType SESSION
public static final IcatException.IcatExceptionType VALIDATION
public static IcatException.IcatExceptionType[] values()
for (IcatException.IcatExceptionType c : IcatException.IcatExceptionType.values()) System.out.println(c);
public static IcatException.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 nullCopyright © 2012 The ICAT Collaboration. All Rights Reserved.