private HttpResponse sendRequest(State state,AndroidHttpClient client,HttpGet request) throws StopRequest {
  try {
    return client.execute(request);
  }
 catch (  IllegalArgumentException ex) {
    throw new StopRequest(DownloaderService.STATUS_HTTP_DATA_ERROR,"while trying to execute request: " + ex.toString(),ex);
  }
catch (  IOException ex) {
    logNetworkState();
    throw new StopRequest(getFinalStatusForHttpError(state),"while trying to execute request: " + ex.toString(),ex);
  }
}

private HttpResponse sendRequest ( State state , AndroidHttpClient client , HttpGet request ) throws StopRequest { try { return client . execute ( request ) ; } catch ( IllegalArgumentException ex ) { throw new StopRequest ( DownloaderService . STATUS_HTTP_DATA_ERROR , "while trying to execute request: " + ex . toString ( ) , ex ) ; } catch ( IOException ex ) { logNetworkState ( ) ; throw new StopRequest ( getFinalStatusForHttpError ( state ) , "while trying to execute request: " + ex . toString ( ) , ex ) ; } }
send the request to the server , handling any i / o exceptions .
