Class NotUsableItemException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adventure.exceptions.NotUsableItemException
All Implemented Interfaces:
Serializable

public class NotUsableItemException extends Exception
Exception thrown when the item that the player is trying to use is not usable.
See Also:
  • Constructor Details

    • NotUsableItemException

      public NotUsableItemException()
      Default constructor.
    • NotUsableItemException

      public NotUsableItemException(String message)
      Message constructor.
      Parameters:
      message - Message to show in the exception.