The checked-in version of HttpClietHelper on the trunk needs to be fixed

    @Override
    public void handle(Request request, Response response) {
        try {
HttpClientCall httpCall = getConverter().toSpecific(this, request);
            getConverter().commit(httpCall, request, response);
        } catch (Exception e) {
            getLogger().log(Level.INFO,
                    "Error while handling an HTTP client call", e);
<<<<<<< .mine

            // need to throw a runtime exception here so that we can
            // signal to the client
throw new RuntimeException("Error while handling a HTTP client call", e);
=======
response.setStatus(Status.CONNECTOR_ERROR_INTERNAL, e.getMessage());
>>>>>>> .r2125
        }
    }

Reply via email to