Class InvalidDrawCardException

All Implemented Interfaces:
Serializable

public class InvalidDrawCardException extends ModelException
Exception thrown when the player tries to draw a card and the deck is empty
See Also:
  • Constructor Details

    • InvalidDrawCardException

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