throwing exception when trying to delete an entity which is used in an existing reservation.