| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Net6LoginException.ErrorCode>
net.sourceforge.obby4j.Net6LoginException.ErrorCode
public static enum Net6LoginException.ErrorCode
All net6 and obby error codes known to this class.
| Enum Constant Summary | |
|---|---|
NET6_ERROR_MAX
Maximum error code reported by net6.  | 
|
NET6_ERROR_NAME_IN_USE
User name already in use.  | 
|
NET6_ERROR_NAME_INVALID
Invalid user name.  | 
|
OBBY_ERROR_COLOR_IN_USE
Color already in use.  | 
|
OBBY_ERROR_MAX
Maximum error code reported by obby.  | 
|
OBBY_ERROR_PROTOCOL_MISMATCH
Protocol mismatch (invalid command, wrong number of parameters, etc.).  | 
|
OBBY_ERROR_WRONG_GLOBAL_PASSWORD
Wrong global/session password.  | 
|
OBBY_ERROR_WRONG_USER_PASSWORD
Wrong user password.  | 
|
| Method Summary | |
|---|---|
static Net6LoginException.ErrorCode | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.  | 
static Net6LoginException.ErrorCode[] | 
values()
Returns an array containing the constants of this enum type, in the order they're declared.  | 
| Methods inherited from class java.lang.Enum | 
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final Net6LoginException.ErrorCode NET6_ERROR_MAX
public static final Net6LoginException.ErrorCode NET6_ERROR_NAME_IN_USE
public static final Net6LoginException.ErrorCode NET6_ERROR_NAME_INVALID
public static final Net6LoginException.ErrorCode OBBY_ERROR_COLOR_IN_USE
public static final Net6LoginException.ErrorCode OBBY_ERROR_MAX
public static final Net6LoginException.ErrorCode OBBY_ERROR_PROTOCOL_MISMATCH
public static final Net6LoginException.ErrorCode OBBY_ERROR_WRONG_GLOBAL_PASSWORD
public static final Net6LoginException.ErrorCode OBBY_ERROR_WRONG_USER_PASSWORD
| Method Detail | 
|---|
public static Net6LoginException.ErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static final Net6LoginException.ErrorCode[] values()
for(Net6LoginException.ErrorCode c : Net6LoginException.ErrorCode.values())
        System.out.println(c);
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||