org.granite.client.messaging.messages.responses
Enum FaultMessage.Code

java.lang.Object
  extended by java.lang.Enum<FaultMessage.Code>
      extended by 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>


Enum Constant Summary
ACCESS_DENIED
           
AUTHENTICATION_FAILED
           
CLIENT_CALL_CANCELLED
           
CLIENT_CALL_FAILED
           
CLIENT_CALL_TIMED_OUT
           
INVALID_CREDENTIALS
           
NOT_LOGGED_IN
           
OPTIMISTIC_LOCK
           
SERVER_CALL_FAILED
           
SESSION_EXPIRED
           
UNKNOWN
           
VALIDATION_FAILED
           
 
Method Summary
static FaultMessage.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FaultMessage.Code[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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