Class InvalidCardCreationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.am13.model.exceptions.ModelException
it.polimi.ingsw.am13.model.exceptions.InvalidCardCreationException
All Implemented Interfaces:
Serializable

public class InvalidCardCreationException extends ModelException
Exception thrown when CardFactory attempts to create an invalid card.
See Also:
  • Constructor Details

    • InvalidCardCreationException

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