com.parabon.common
Class TaskExceptionCode

java.lang.Object
  extended by com.parabon.common.TaskExceptionCode

public class TaskExceptionCode
extends java.lang.Object


Field Summary
static int ILLEGAL_OPERATION
           
static int LIMIT_VIOLATION
           
static int MALFORMED_TASK
           
static int NONE
           
static int OUT_OF_DISK
           
static int OUT_OF_MEMORY
           
static int PROVIDER_FAILURE
           
static int SECURITY_VIOLATION
           
static int SUBCODE_INVALID_CONSTRAINT
           
static int SUBCODE_INVALID_ELEMENT
           
static int SUBCODE_MISSING_ELEMENTS
           
static int SUBCODE_NONE
           
static int SUBCODE_UNEXPECTED_TASK_STOPPED_EXCEPTION
           
static int SYSTEM
           
static int UNKNOWN
           
static int USER
           
 
Constructor Summary
TaskExceptionCode()
           
 
Method Summary
static boolean isResourceError(int code)
           
static boolean isUserError(int code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

USER

public static final int USER
See Also:
Constant Field Values

MALFORMED_TASK

public static final int MALFORMED_TASK
See Also:
Constant Field Values

OUT_OF_MEMORY

public static final int OUT_OF_MEMORY
See Also:
Constant Field Values

OUT_OF_DISK

public static final int OUT_OF_DISK
See Also:
Constant Field Values

SECURITY_VIOLATION

public static final int SECURITY_VIOLATION
See Also:
Constant Field Values

PROVIDER_FAILURE

public static final int PROVIDER_FAILURE
See Also:
Constant Field Values

LIMIT_VIOLATION

public static final int LIMIT_VIOLATION
See Also:
Constant Field Values

ILLEGAL_OPERATION

public static final int ILLEGAL_OPERATION
See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
See Also:
Constant Field Values

SUBCODE_NONE

public static final int SUBCODE_NONE
See Also:
Constant Field Values

SUBCODE_MISSING_ELEMENTS

public static final int SUBCODE_MISSING_ELEMENTS
See Also:
Constant Field Values

SUBCODE_UNEXPECTED_TASK_STOPPED_EXCEPTION

public static final int SUBCODE_UNEXPECTED_TASK_STOPPED_EXCEPTION
See Also:
Constant Field Values

SUBCODE_INVALID_ELEMENT

public static final int SUBCODE_INVALID_ELEMENT
See Also:
Constant Field Values

SUBCODE_INVALID_CONSTRAINT

public static final int SUBCODE_INVALID_CONSTRAINT
See Also:
Constant Field Values
Constructor Detail

TaskExceptionCode

public TaskExceptionCode()
Method Detail

isUserError

public static boolean isUserError(int code)

isResourceError

public static boolean isResourceError(int code)