java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.am13.model.exceptions.ModelException
it.polimi.ingsw.am13.model.exceptions.PlayerHandException
- All Implemented Interfaces:
Serializable
This exception is thrown when there is attempt to add a card to the hand of a player who has already three cards
(i.e. his hand is already full).
- 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
-
PlayerHandException
Constructor of the exception.- Parameters:
message
- the message to be shown when the exception will be handled.
-