Class ConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.am13.model.exceptions.ConnectionException
All Implemented Interfaces:
Serializable

public class ConnectionException extends Exception implements Serializable
This exception is thrown when there is attempt to reconnect a player which is already connected, or disconnect a player which has already been disconnected.
See Also:
  • Constructor Details

    • ConnectionException

      public ConnectionException(String msg)
      Constructor of the exception.
      Parameters:
      msg - the message to be shown when the exception will be handled.