|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tensegrity.palojava.http.HttpErrorCode
public final class HttpErrorCode
A type safe enumartion of error codes All valid error codes and their meanings are defined by the palo server.
Method Summary | |
---|---|
static HttpErrorCode |
getErrorCode(java.lang.String code)
Returns the error code for the given code or null if no error code is registered for the given code. |
static boolean |
isErrorCode(java.lang.String code)
Checks if the given code is an error code |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int code
public final java.lang.String description
public static final HttpErrorCode UNKNOWN
public static final HttpErrorCode MISSING_PARAMETER
public static final HttpErrorCode WRONG_PARAMETER
public static final HttpErrorCode ILLEGAL_PARAMETER_VALUE
public static final HttpErrorCode DATABASE_NOT_FOUND
public static final HttpErrorCode DIMENSION_NOT_FOUND
public static final HttpErrorCode ELEMENT_NOT_FOUND
public static final HttpErrorCode CUBE_NOT_FOUND
public static final HttpErrorCode FILE_NOT_LOADABLE
public static final HttpErrorCode CANNOT_OPEN_FILE
public static final HttpErrorCode UNKNOWN_LEGACY_FUNCTION
public static final HttpErrorCode INTERNAL_ERROR
public static final HttpErrorCode DATABASE_NOT_LOADED
public static final HttpErrorCode CUBE_NOT_LOADED
public static final HttpErrorCode NAME_IN_USE
public static final HttpErrorCode SAVE_DATABASE_REQUIRED
public static final HttpErrorCode SAVE_SERVER_REQUIRED
public static final HttpErrorCode SPLASH_DISABLED_FAILED
public static final HttpErrorCode DELETE_REQUIRED
public static final HttpErrorCode SERVER_NOT_LOADED
public static final HttpErrorCode DIMENSION_IN_USE
public static final HttpErrorCode DIMENSION_NOT_UNIQUE
public static final HttpErrorCode IDENTIFIER_IN_USE
public static final HttpErrorCode PATH_NOT_EQUAL
public static final HttpErrorCode CLIENT_COMMAND_GARBLED
public static final HttpErrorCode SERVER_TOKEN_OUTDATED
public static final HttpErrorCode DATABASE_TOKEN_OUTDATED
public static final HttpErrorCode DIMENSION_TOKEN_OUTDATED
public static final HttpErrorCode CUBE_TOKEN_OUTDATED
public static final HttpErrorCode NOT_UNAUTHORIZED
Method Detail |
---|
public final java.lang.String toString()
toString
in class java.lang.Object
public static final boolean isErrorCode(java.lang.String code)
code
- a possible error code
public static final HttpErrorCode getErrorCode(java.lang.String code)
code
- a possible error code
HttpErrorCode
or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |