Class InvalidReceiversException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.am13.client.chat.InvalidReceiversException
All Implemented Interfaces:
Serializable

public class InvalidReceiversException extends Exception
This exception is thrown when a client requests to send a message whose receivers are not valid, that is when they are more than 1 and less than all the other players, or they contain the sender, or they contain a player who is not in the match
See Also:
  • Constructor Details

    • InvalidReceiversException

      public InvalidReceiversException(String message)