public static enum IcatException.IcatExceptionType extends Enum<IcatException.IcatExceptionType>
Enum Constant and Description |
---|
BAD_PARAMETER
An input parameter appears to be incorrect
|
INSUFFICIENT_PRIVILEGES
This is normally an authorization problem
|
INTERNAL
Some internal error has occurred
|
NO_SUCH_OBJECT_FOUND
The requested object does not exist
|
NOT_IMPLEMENTED
If no implementation is provided by the server
|
OBJECT_ALREADY_EXISTS
An object already exists with the same key fields
|
SESSION
This is normally an authentication problem or the session has expired
|
VALIDATION
If the call is not appropriate for the system in the current state
|
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 final IcatException.IcatExceptionType NOT_IMPLEMENTED
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 © 2022 The ICAT Collaboration. All rights reserved.