java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adventure.exceptions.NotUsableItemException
- All Implemented Interfaces:
Serializable
Exception thrown when the item that the player is trying to use is not usable.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.NotUsableItemException
(String message) Message constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotUsableItemException
public NotUsableItemException()Default constructor. -
NotUsableItemException
Message constructor.- Parameters:
message
- Message to show in the exception.
-