Class IslandNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.eriantys.model.exceptions.IslandNotFoundException
All Implemented Interfaces:
Serializable

public class IslandNotFoundException extends Exception
This exception is thrown by Board's island handling methods to indicate that no island matches the requested id.
See Also:
  • Constructor Details

    • IslandNotFoundException

      public IslandNotFoundException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message, which is saved for later retrieval by the Throwable.getMessage() method