Class FridgeItemsNotFoundException

All Implemented Interfaces:
Serializable

public class FridgeItemsNotFoundException extends NotFoundException
Exception thrown when a fridge's items cannot be found.
Author:
Leon Egeberg Hesthaug, Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • FridgeItemsNotFoundException

      public FridgeItemsNotFoundException(String fridgeName)
      This method constructs a new FridgeItemsNotFoundException with the given fridge name.
      Parameters:
      fridgeName - The name of the fridge, given as a String
    • FridgeItemsNotFoundException

      public FridgeItemsNotFoundException(Long fridgeId)
      This method constructs a new FridgeItemsNotFoundException with the given fridge ID.
      Parameters:
      fridgeId - The ID of the fridge, given as a Long