Class ItemAlreadyExistException

All Implemented Interfaces:
Serializable

public class ItemAlreadyExistException extends RuntimeException
Custom exception class for handling scenarios where a cookie is not found. Extends the RuntimeException to allow unchecked exceptions.
See Also:
  • Constructor Details

    • ItemAlreadyExistException

      public ItemAlreadyExistException(String message)
      Constructs a new CookieNotFoundException with the specified detail message.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • ItemAlreadyExistException

      public ItemAlreadyExistException(Throwable cause)
      Constructs a new CookieNotFoundException with the specified cause.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • ItemAlreadyExistException

      public ItemAlreadyExistException(String message, Throwable cause)
      Constructs a new CookieNotFoundException with the specified detail message and cause.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)