Class NotEnoughMovementsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.eriantys.model.exceptions.NotEnoughMovementsException
- All Implemented Interfaces:
Serializable
This exception is thrown by
GameManager.handleMotherNatureMovement(String)
to indicate that
the movement cannot be completed since the player does not have enough Mother Nature movements during this turn.- See Also:
-
Constructor Summary
ConstructorDescriptionNotEnoughMovementsException
(String message) Constructs a new exception with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotEnoughMovementsException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, which is saved for later retrieval by theThrowable.getMessage()
method
-