Package com.tenio.configuration.constant
Class ErrorMsg
- java.lang.Object
-
- com.tenio.configuration.constant.ErrorMsg
-
public final class ErrorMsg extends java.lang.Object
All base errors' messages for the server are defined here. This class should not be modified.- Author:
- kong
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAIN_CONNECTION_NOT_FOUND
When you try to attach a UDP connection to one player with a non-existing of TCP connection.static java.lang.String
PLAYER_ALREADY_LEAVE_ROOM
When you try to remove a player from his room, but he has already leave.static java.lang.String
PLAYER_IS_EXISTED
When you try to add a player that has the same name with one appeared on the server.static java.lang.String
PLAYER_IS_INVALID
When you try to add an invalid player (wrong credentials or your own logic handle) into the server.static java.lang.String
PLAYER_NOT_FOUND
When you try to retrieve a non-existing player.static java.lang.String
PLAYER_WAS_IN_ROOM
When you try to add a player that duplicates in one room.static java.lang.String
REACH_MAX_CONNECTION
When you try to create a new connection and that exceeds the number of allowed connections.static java.lang.String
ROOM_IS_EXISTED
When you try to add a room that has the same id with one appeared on the server.static java.lang.String
ROOM_IS_FULL
When you try to add a player in one room and that exceeds the room's capacity.
-
-
-
Field Detail
-
PLAYER_IS_EXISTED
public static final java.lang.String PLAYER_IS_EXISTED
When you try to add a player that has the same name with one appeared on the server.- See Also:
- Constant Field Values
-
PLAYER_IS_INVALID
public static final java.lang.String PLAYER_IS_INVALID
When you try to add an invalid player (wrong credentials or your own logic handle) into the server.- See Also:
- Constant Field Values
-
PLAYER_WAS_IN_ROOM
public static final java.lang.String PLAYER_WAS_IN_ROOM
When you try to add a player that duplicates in one room.- See Also:
- Constant Field Values
-
PLAYER_ALREADY_LEAVE_ROOM
public static final java.lang.String PLAYER_ALREADY_LEAVE_ROOM
When you try to remove a player from his room, but he has already leave.- See Also:
- Constant Field Values
-
ROOM_IS_FULL
public static final java.lang.String ROOM_IS_FULL
When you try to add a player in one room and that exceeds the room's capacity.- See Also:
- Constant Field Values
-
ROOM_IS_EXISTED
public static final java.lang.String ROOM_IS_EXISTED
When you try to add a room that has the same id with one appeared on the server.- See Also:
- Constant Field Values
-
REACH_MAX_CONNECTION
public static final java.lang.String REACH_MAX_CONNECTION
When you try to create a new connection and that exceeds the number of allowed connections.- See Also:
- Constant Field Values
-
PLAYER_NOT_FOUND
public static final java.lang.String PLAYER_NOT_FOUND
When you try to retrieve a non-existing player.- See Also:
- Constant Field Values
-
MAIN_CONNECTION_NOT_FOUND
public static final java.lang.String MAIN_CONNECTION_NOT_FOUND
When you try to attach a UDP connection to one player with a non-existing of TCP connection.- See Also:
- Constant Field Values
-
-