Class ItemNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ItemNotFoundException
    extends java.lang.RuntimeException
    Represents condition where an item is not found or not available.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemNotFoundException()
      Creates a new exception with no message.
      ItemNotFoundException​(java.lang.String message)
      Creates a new exception with the supplied message.
      ItemNotFoundException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new exception with the supplied message and cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ItemNotFoundException

        public ItemNotFoundException()
        Creates a new exception with no message.
      • ItemNotFoundException

        public ItemNotFoundException​(java.lang.String message)
        Creates a new exception with the supplied message.
        Parameters:
        message - error message
      • ItemNotFoundException

        public ItemNotFoundException​(java.lang.String message,
                                     java.lang.Throwable cause)
        Creates a new exception with the supplied message and cause.
        Parameters:
        message - error message
        cause - cause of the error