Class ItemNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.eriantys.model.exceptions.ItemNotAvailableException
- All Implemented Interfaces:
Serializable
This exception is thrown when trying to remove a certain item that is no longer there.
- See Also:
-
Constructor Summary
ConstructorDescriptionItemNotAvailableException
(String message) Constructs a new exception with a custom 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
-
ItemNotAvailableException
Constructs a new exception with a custom message.- Parameters:
message
- the detail message
-