|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webct.platform.sdk.systemintegrationapi.common.ErrorCode
public class ErrorCode
A class which provides for type-safe error code constants. Allows lookup of a constant instance given either a String label or an int value.
| Field Summary | |
|---|---|
static ErrorCode |
CONSTRAINT_VIOLATION
CONSTRAINT_VIOLATION |
static int |
CONSTRAINT_VIOLATION_ID
|
static ErrorCode |
ENTITY_DOES_NOT_EXIST
ENTITY_DOES_NOT_EXIST |
static int |
ENTITY_DOES_NOT_EXIST_ID
|
static ErrorCode |
INFRASTRUCTURE_FAILURE
INFRASTRUCTURE_FAILURE |
static int |
INFRASTRUCTURE_FAILURE_ID
|
static ErrorCode |
OP_NOT_SUPPORTED
OP_NOT_SUPPORTED |
static int |
OP_NOT_SUPPORTED_ID
|
static ErrorCode |
OTHER
XML_NOT_VALID |
static int |
OTHER_ID
|
static ErrorCode |
XML_NOT_VALID
XML_NOT_VALID |
static int |
XML_NOT_VALID_ID
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Evaluates for equivalence. |
int |
hashCode()
Returns a unique identifier for this instance. |
int |
intValue()
Returns the integer value. |
static ErrorCode |
lookup(int value)
Gets the appropriate ErrorCode given an integer value. |
static ErrorCode |
lookup(java.lang.String value)
Gets the appropriate ErrorCode given a string value. |
java.lang.String |
toString()
Returns the String representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int OP_NOT_SUPPORTED_ID
public static final int ENTITY_DOES_NOT_EXIST_ID
public static final int INFRASTRUCTURE_FAILURE_ID
public static final int XML_NOT_VALID_ID
public static final int CONSTRAINT_VIOLATION_ID
public static final int OTHER_ID
public static final ErrorCode OP_NOT_SUPPORTED
ErrorCode
public static final ErrorCode ENTITY_DOES_NOT_EXIST
ErrorCode
public static final ErrorCode INFRASTRUCTURE_FAILURE
ErrorCode
public static final ErrorCode XML_NOT_VALID
ErrorCode
public static final ErrorCode CONSTRAINT_VIOLATION
ErrorCode
public static final ErrorCode OTHER
ErrorCode
| Method Detail |
|---|
public static ErrorCode lookup(int value)
ErrorCode
public static ErrorCode lookup(java.lang.String value)
ErrorCode
public final int intValue()
ErrorCode
public final java.lang.String toString()
ErrorCode
toString in class java.lang.Objectpublic int hashCode()
ErrorCode
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
ErrorCode
equals in class java.lang.Objectobj - object of comparison
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||