Class IslandNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.eriantys.model.exceptions.IslandNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown by
Board
's island handling methods to indicate that no island matches the requested id.-
Constructor Summary
ConstructorDescriptionIslandNotFoundException
(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
-
IslandNotFoundException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, which is saved for later retrieval by theThrowable.getMessage()
method
-