Class AllergenNotFoundException

All Implemented Interfaces:
Serializable

public class AllergenNotFoundException extends NotFoundException
This exception is thrown when an allergen cannot be found.
See Also:
  • Constructor Details

    • AllergenNotFoundException

      public AllergenNotFoundException(String attribute, String value)
      This method constructs a new AllergenNotFoundException with a given attribute and value.
      Parameters:
      attribute - A specific attribute of the allergen that was not found.
      value - The value of the allergen not found