Module it.polimi.ingsw.am13
Class InvalidPlayersNumberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.am13.model.exceptions.InvalidPlayersNumberException
- All Implemented Interfaces:
Serializable
This exception is thrown when the player number is not valid (ie <2 or >4), or there are different
players who have the same token
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPlayersNumberException
public InvalidPlayersNumberException() -
InvalidPlayersNumberException
Constructor of the exception.- Parameters:
message
- the message to be shown when the exception will be handled.
-