catch Exception in HttpRequest