Source:
<code>public List<HudsonModelRun> getDownstreamBuilds(final HudsonModelJob job, final HudsonModelRun build, final IOperationMonitor monitor) throws HudsonException { return new HudsonOperation<List<HudsonModelRun>>(client) { @Override public List<HudsonModelRun> execute() throws IOException, HudsonException, JAXBException { String include = " String url = HudsonUrl.create(getBuildUrl(job, build)) .include(include) .depth(0) .tree("runs[*]") .toUrl(); HttpRequestBase request = createGetRequest(url); CommonHttpResponse response = execute(request, monitor); return processAndRelease(response, monitor); } @Override protected List<HudsonModelRun> doProcess(CommonHttpResponse response, IOperationMonitor monitor) throws IOException, HudsonException, JAXBException { InputStream in = response.getResponseEntityAsStream(); List<HudsonModelRun> hudsonBuilds = new ArrayList<HudsonModelRun>(); try { Document doc = getDocumentBuilder().parse(in); NodeList nodeList = doc.getElementsByTagName("url"); for (int i = 0; i < nodeList.getLength(); i++) { Element element = (Element) nodeList.item(i); String url = element.getTextContent(); HudsonModelRun hudsonBuild = getDownstreamBuild(job, build, url, monitor); hudsonBuilds.add(hudsonBuild); } } catch (OperationCanceledException e) { throw e; } catch (SAXException e) { throw new HudsonException(NLS.bind("Failed to parse response from {0}", response.getRequestPath()), e); <START> } catch (Exception e) { <END> throw new HudsonException(NLS.bind("Failed to parse response from {0}", response.getRequestPath()), e); } return hudsonBuilds; } }.run(); }</code><technical_language>catch Exception</technical_language>

Target:
public List<HudsonModelRun> getDownstreamBuilds(final HudsonModelJob job, final HudsonModelRun build, final IOperationMonitor monitor) throws HudsonException { return new HudsonOperation<List<HudsonModelRun>>(client) { @Override public List<HudsonModelRun> execute() throws IOException, HudsonException, JAXBException { String include = " String url = HudsonUrl.create(getBuildUrl(job, build)) .include(include) .depth(0) .tree("runs[*]") .toUrl(); HttpRequestBase request = createGetRequest(url); CommonHttpResponse response = execute(request, monitor); return processAndRelease(response, monitor); } @Override protected List<HudsonModelRun> doProcess(CommonHttpResponse response, IOperationMonitor monitor) throws IOException, HudsonException, JAXBException { InputStream in = response.getResponseEntityAsStream(); List<HudsonModelRun> hudsonBuilds = new ArrayList<HudsonModelRun>(); try { Document doc = getDocumentBuilder().parse(in); NodeList nodeList = doc.getElementsByTagName("url"); for (int i = 0; i < nodeList.getLength(); i++) { Element element = (Element) nodeList.item(i); String url = element.getTextContent(); HudsonModelRun hudsonBuild = getBuildFromUrl(job, build, url, monitor); hudsonBuilds.add(hudsonBuild); } } catch (OperationCanceledException e) { throw e; } catch (SAXException e) { throw new HudsonException(NLS.bind("Failed to parse response from {0}", response.getRequestPath()), e); } catch (Exception e) { throw new HudsonException(NLS.bind("Failed to parse response from {0}", response.getRequestPath()), e); } return hudsonBuilds; } }.run(); }