public enum Errors extends Enum<Errors>
Enum Constant and Description |
---|
ALREADY_HAVE_OFFLINE_COACH
There is already a coach connected.
|
CANNOT_RECONNECT_WHILE_PLAYON
Cannot reconnect while the PlayMode is PLAYON.
|
CANNOT_SAY_FREEFORM_WHILE_PLAYON
Cannot say a freeform while the PlayMode is PLAYON.
|
CONNECTED_OFFLINE_COACH_WITHOUT_COACH_MODE
Tried to connect a coach when the server isn't in coach mode.
|
CONNECTION_FAILED
Connection has failed.
|
COULD_NOT_PARSE_SAY
The server could not parse the say message.
|
GOALIE_ALREADY_EXISTS
A goalie already exists.
|
ILLEGAL_CLIENT_VERSION
Illegal client version provided.
|
ILLEGAL_COMMAND_FORM
The command sent to the server is in an invalid form.
|
ILLEGAL_MODE
Tried setting the game mode to an invalid mode.
|
ILLEGAL_OBJECT_FORM
The object passed to the server is in an invalid form.
|
ILLEGAL_TEAMNAME
Illegal teamname.
|
ILLEGAL_TEAMNAME_OR_TOO_LONG_TEAMNAME
Illegal or too long teamname.
|
INVALID_XPM_DATA
The XPM image recieved by the server wasn't in a valid format.
|
NO_MORE_MONITOR
The server cannot connect any more monitors.
|
NO_MORE_PLAYER_OR_GOALIE_OR_ILLEGAL_CLIENT_VERSION
The server cannot connect any more players or goalie's.
|
NO_MORE_TEAM
The server cannot connect any more teams.
|
NO_SUCH_TEAM_OR_PLAYER
No such team or player.
|
OUT_OF_RANGE_PLAYER_TYPE |
RED_CARDED_PLAYER
A red carded player tried to reconnect.
|
SAID_TOO_MANY_ADVICE_MESSAGES
Too many advice messages have been sent.
|
SAID_TOO_MANY_DEFINE_MESSAGES
Too many define messages have been sent.
|
SAID_TOO_MANY_DEL_MESSAGES
Too many del messages have been sent.
|
SAID_TOO_MANY_FREEFORM_MESSAGES
Too many freeform messages have been sent.
|
SAID_TOO_MANY_INFO_MESSAGES
Too many info messages have been sent.
|
SAID_TOO_MANY_MESSAGES
We have said too many things, wait to say again.
|
SAID_TOO_MANY_META_MESSAGES
Too many meta messages have been sent.
|
SAID_TOO_MANY_RULE_MESSAGES
Too many rule messages have been sent.
|
SOCKET_OPEN_FAILED
Failed to open the socket when connecting to the server.
|
TOO_MANY_MOVES
We tried to perform too many moves in one turn.
|
UNKNOWN_COMMAND
The command sent to the server is completely unknown.
|
Modifier and Type | Method and Description |
---|---|
static Errors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Errors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Errors ALREADY_HAVE_OFFLINE_COACH
public static final Errors CANNOT_RECONNECT_WHILE_PLAYON
public static final Errors CANNOT_SAY_FREEFORM_WHILE_PLAYON
public static final Errors CONNECTED_OFFLINE_COACH_WITHOUT_COACH_MODE
public static final Errors CONNECTION_FAILED
public static final Errors COULD_NOT_PARSE_SAY
public static final Errors GOALIE_ALREADY_EXISTS
public static final Errors ILLEGAL_CLIENT_VERSION
public static final Errors ILLEGAL_COMMAND_FORM
public static final Errors ILLEGAL_MODE
public static final Errors ILLEGAL_OBJECT_FORM
public static final Errors ILLEGAL_TEAMNAME
public static final Errors ILLEGAL_TEAMNAME_OR_TOO_LONG_TEAMNAME
public static final Errors INVALID_XPM_DATA
public static final Errors NO_MORE_MONITOR
public static final Errors NO_MORE_TEAM
public static final Errors NO_MORE_PLAYER_OR_GOALIE_OR_ILLEGAL_CLIENT_VERSION
public static final Errors NO_SUCH_TEAM_OR_PLAYER
public static final Errors OUT_OF_RANGE_PLAYER_TYPE
public static final Errors RED_CARDED_PLAYER
public static final Errors SAID_TOO_MANY_ADVICE_MESSAGES
public static final Errors SAID_TOO_MANY_DEFINE_MESSAGES
public static final Errors SAID_TOO_MANY_DEL_MESSAGES
public static final Errors SAID_TOO_MANY_FREEFORM_MESSAGES
public static final Errors SAID_TOO_MANY_INFO_MESSAGES
public static final Errors SAID_TOO_MANY_MESSAGES
public static final Errors SAID_TOO_MANY_META_MESSAGES
public static final Errors SAID_TOO_MANY_RULE_MESSAGES
public static final Errors SOCKET_OPEN_FAILED
public static final Errors TOO_MANY_MOVES
public static final Errors UNKNOWN_COMMAND
public static Errors[] values()
for (Errors c : Errors.values()) System.out.println(c);
public static Errors valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2003–2015 Atan. All rights reserved.