Package it.polimi.ingsw.controller.controllerexception

  • Exception Summary
    Exception Description
    ControllerException
    A generic controller exception
    InvalidActionException
    Thrown when one try to perform an action with not all the required field correctly set
    NotAllowedActionException
    Thrown when an one try to perform an action that could not be performed during that phase of the game
    WrongPlayerException
    Thrown when one try to perform an action for the wrong player: e.g. for a player that isn't the current player of for a player that doesn't exist