Class DuplicateNoEntryTileException

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

public class DuplicateNoEntryTileException extends Exception
This exception is thrown by IslandGroup.putNoEntryTile(int) to indicate that a tile with the specified id is already placed on the IslandGroup.
See Also:
  • Constructor Details

    • DuplicateNoEntryTileException

      public DuplicateNoEntryTileException(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