Module it.polimi.ingsw.am13
Class InvalidDrawCardException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.am13.model.exceptions.ModelException
it.polimi.ingsw.am13.model.exceptions.InvalidDrawCardException
- All Implemented Interfaces:
Serializable
Exception thrown when the player tries to draw a card and the deck is empty
- 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
-
InvalidDrawCardException
Constructor of the exception.- Parameters:
msg
- the message to be shown when the exception will be handled.
-