protected void handleError ( URI requestUri , HttpMethod requestMethod , int statusCode , String statusMessage , ByteSource errorBody ) throws RestEndpointIOException { throw new RestEndpointException ( requestUri , requestMethod , statusCode , statusMessage , errorBody ) ; }
Handler methods for HTTP client errors