throw exception when find is called with non-existing id