private static ClientResponse checked(final ClientResponse response)
throws UpdateServiceException {
final Status status = response.getClientResponseStatus();
if (status != Status.OK)
throw new UpdateServiceException(status.getStatusCode(),
new UniformInterfaceException(response));
return response;
}