ggz.common
Class ClientReqError
java.lang.Object
ggz.common.ClientReqError
public class ClientReqError
- extends java.lang.Object
Method Summary |
java.lang.String |
toString()
|
static ClientReqError |
valueOf(java.lang.String str)
Converts an error string to a ClientReqError object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
E_NO_STATUS
public static final ClientReqError E_NO_STATUS
E_OK
public static final ClientReqError E_OK
E_USR_LOOKUP
public static final ClientReqError E_USR_LOOKUP
E_USR_FOUND
public static final ClientReqError E_USR_FOUND
E_USR_TAKEN
public static final ClientReqError E_USR_TAKEN
E_USR_TYPE
public static final ClientReqError E_USR_TYPE
E_BAD_OPTIONS
public static final ClientReqError E_BAD_OPTIONS
E_ROOM_FULL
public static final ClientReqError E_ROOM_FULL
E_TABLE_FULL
public static final ClientReqError E_TABLE_FULL
E_TABLE_EMPTY
public static final ClientReqError E_TABLE_EMPTY
E_LAUNCH_FAIL
public static final ClientReqError E_LAUNCH_FAIL
E_JOIN_FAIL
public static final ClientReqError E_JOIN_FAIL
E_NO_TABLE
public static final ClientReqError E_NO_TABLE
E_LEAVE_FAIL
public static final ClientReqError E_LEAVE_FAIL
E_LEAVE_FORBIDDEN
public static final ClientReqError E_LEAVE_FORBIDDEN
E_ALREADY_LOGGED_IN
public static final ClientReqError E_ALREADY_LOGGED_IN
E_NOT_LOGGED_IN
public static final ClientReqError E_NOT_LOGGED_IN
E_NOT_IN_ROOM
public static final ClientReqError E_NOT_IN_ROOM
E_AT_TABLE
public static final ClientReqError E_AT_TABLE
E_IN_TRANSIT
public static final ClientReqError E_IN_TRANSIT
E_NO_PERMISSION
public static final ClientReqError E_NO_PERMISSION
E_BAD_XML
public static final ClientReqError E_BAD_XML
E_SEAT_ASSIGN_FAIL
public static final ClientReqError E_SEAT_ASSIGN_FAIL
E_NO_CHANNEL
public static final ClientReqError E_NO_CHANNEL
E_TOO_LONG
public static final ClientReqError E_TOO_LONG
E_UNKNOWN
public static final ClientReqError E_UNKNOWN
E_BAD_USERNAME
public static final ClientReqError E_BAD_USERNAME
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
valueOf
public static ClientReqError valueOf(java.lang.String str)
- Converts an error string to a ClientReqError object. The strings
recognised by this function are those returned by the server as the CODE
attribute of the <RESULT> tag.
- Parameters:
str
-
- Returns:
- The equivalent ClientReqError or E_UNKNOWN if the code is not
recognised.