ResponseBuilder rb = setResponseBuilder(outMessage, outMessage.getExchange());
Response currentResponse = rb.clone().build();
Object entity = readBody(currentResponse, outMessage, responseClass, genericType,
new Annotation[]{});
rb.entity(entity instanceof Response
? ((Response)entity).getEntity() : entity);
return rb.build();
} catch (Throwable ex) {
throw (ex instanceof ClientWebApplicationException) ? (ClientWebApplicationException)ex