com.parabon.client
Enum TaskExceptionCode

java.lang.Object
  extended by java.lang.Enum<TaskExceptionCode>
      extended by com.parabon.client.TaskExceptionCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TaskExceptionCode>

public enum TaskExceptionCode
extends java.lang.Enum<TaskExceptionCode>


Enum Constant Summary
ILLEGAL_OPERATION
           
LIMIT_VIOLATION
           
MALFORMED_TASK
           
NONE
           
OUT_OF_DISK
           
OUT_OF_MEMORY
           
PROVIDER_FAILURE
           
SECURITY_VIOLATION
           
SYSTEM
           
UNKNOWN
           
USER
           
 
Method Summary
static TaskExceptionCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TaskExceptionCode[] 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

NONE

public static final TaskExceptionCode NONE

UNKNOWN

public static final TaskExceptionCode UNKNOWN

USER

public static final TaskExceptionCode USER

MALFORMED_TASK

public static final TaskExceptionCode MALFORMED_TASK

OUT_OF_MEMORY

public static final TaskExceptionCode OUT_OF_MEMORY

OUT_OF_DISK

public static final TaskExceptionCode OUT_OF_DISK

SECURITY_VIOLATION

public static final TaskExceptionCode SECURITY_VIOLATION

PROVIDER_FAILURE

public static final TaskExceptionCode PROVIDER_FAILURE

LIMIT_VIOLATION

public static final TaskExceptionCode LIMIT_VIOLATION

ILLEGAL_OPERATION

public static final TaskExceptionCode ILLEGAL_OPERATION

SYSTEM

public static final TaskExceptionCode SYSTEM
Method Detail

values

public static TaskExceptionCode[] 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 (TaskExceptionCode c : TaskExceptionCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TaskExceptionCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null