Throwing exception in request handler when object is not found