Package it.polimi.ingsw.eriantys.model.exceptions
package it.polimi.ingsw.eriantys.model.exceptions
-
ClassDescriptionThis exception is thrown by
IslandGroup.putNoEntryTile(int)
to indicate that a tile with the specifiedid
is already placed on theIslandGroup
.This exception is thrown byIslandGroup
'smerge
method to indicate that the two specified islands do not share the same controller, and therefore cannot be merged.This exception is thrown whenever an illegal parameter referred to a game object has been passed to a class or specific method.This exception is thrown byBoard
's island handling methods to indicate that no island matches the requested id.This exception is thrown when trying to remove a certain item that is no longer there.This exception is thrown byStudentContainer
's movement methods to indicate that a movement of students between two containers was not completed.This exception is thrown byGameManager.handleMotherNatureMovement(String)
to indicate that the movement cannot be completed since the player does not have enough Mother Nature movements during this turn.