Class ItemNotAvailableException

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

public class ItemNotAvailableException extends Exception
This exception is thrown when trying to remove a certain item that is no longer there.
See Also:
  • Constructor Details

    • ItemNotAvailableException

      public ItemNotAvailableException(String message)
      Constructs a new exception with a custom message.
      Parameters:
      message - the detail message