Throw a 404 exception when item was not found in database