throw mapper.toException(e);
} else {
throw new RuntimeException(e);
}
}
ClientErrorHandler errorHandler = new ClientErrorHandler(_providerFactory.getClientErrorInterceptors());
clientResponse.setAttributeExceptionsTo(_method.toString());
clientResponse.setAnnotations(_method.getAnnotations());
ClientRequestContext clientRequestContext = new ClientRequestContext(request, clientResponse, errorHandler, _extractorFactory, _baseUri);
Object response = _extractor.extractEntity(clientRequestContext);
RESTEasyBindingData restResponse = new RESTEasyBindingData();