org.granite.client.messaging.messages.responses
Enum FaultMessage.Code
java.lang.Object
java.lang.Enum<FaultMessage.Code>
org.granite.client.messaging.messages.responses.FaultMessage.Code
- All Implemented Interfaces:
- Serializable, Comparable<FaultMessage.Code>
- Enclosing class:
- FaultMessage
public static enum FaultMessage.Code
- extends Enum<FaultMessage.Code>
UNKNOWN
public static final FaultMessage.Code UNKNOWN
CLIENT_CALL_FAILED
public static final FaultMessage.Code CLIENT_CALL_FAILED
CLIENT_CALL_TIMED_OUT
public static final FaultMessage.Code CLIENT_CALL_TIMED_OUT
CLIENT_CALL_CANCELLED
public static final FaultMessage.Code CLIENT_CALL_CANCELLED
SERVER_CALL_FAILED
public static final FaultMessage.Code SERVER_CALL_FAILED
INVALID_CREDENTIALS
public static final FaultMessage.Code INVALID_CREDENTIALS
AUTHENTICATION_FAILED
public static final FaultMessage.Code AUTHENTICATION_FAILED
NOT_LOGGED_IN
public static final FaultMessage.Code NOT_LOGGED_IN
SESSION_EXPIRED
public static final FaultMessage.Code SESSION_EXPIRED
ACCESS_DENIED
public static final FaultMessage.Code ACCESS_DENIED
VALIDATION_FAILED
public static final FaultMessage.Code VALIDATION_FAILED
OPTIMISTIC_LOCK
public static final FaultMessage.Code OPTIMISTIC_LOCK
values
public static FaultMessage.Code[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FaultMessage.Code c : FaultMessage.Code.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FaultMessage.Code valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null