Class FridgeMemberNotFoundException

All Implemented Interfaces:
Serializable

public class FridgeMemberNotFoundException extends NotFoundException
An exception to be thrown when a fridge member is not found.
Author:
Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • FridgeMemberNotFoundException

      public FridgeMemberNotFoundException(String fridgeMemberName)
      This method constructs a FridgeMemberNotFoundException with the specified member username.
      Parameters:
      fridgeMemberName - the name of the fridge that was not found
    • FridgeMemberNotFoundException

      public FridgeMemberNotFoundException(Long fridgeMemberId)
      This method constructs a new FridgeMemberNotFoundException with the given fridge member ID that was not found.
      Parameters:
      fridgeMemberId - The ID of the fridge member that was not found, given as a Long object.