Class RecipeNotFoundException

All Implemented Interfaces:
Serializable

public class RecipeNotFoundException extends NotFoundException
This exception is thrown when a Recipe is not found.
See Also:
  • Constructor Details

    • RecipeNotFoundException

      public RecipeNotFoundException(String attribute, String value)
      This method constructs a new RecipeNotFoundException with a given attribute and value.
      Parameters:
      attribute - The specific attribute of the recipe not found.
      value - The value of the recipe not found.
    • RecipeNotFoundException

      public RecipeNotFoundException(String attribute, Long value)
      This method constructs a new RecipeNotFoundException with a given attribute and value.
      Parameters:
      attribute - The specific attribute of the recipe not found.
      value - The id of the value not found.