Class AddedDuplicatedPlayerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tenio.core.exception.AddedDuplicatedPlayerException
All Implemented Interfaces:
Serializable

public final class AddedDuplicatedPlayerException extends RuntimeException
When you try to add a player who existed into the room.
See Also:
  • Constructor Details

    • AddedDuplicatedPlayerException

      public AddedDuplicatedPlayerException(Player player, Room room)
      Initialization.
      Parameters:
      player - the player try to join the room
      room - the target room