catch (IOException e) { IOException e2 = new IOException("error resolving " + url); e2.initCause(e); throw e2; }
  private InputStream resolve(String url)    throws IOException  {    try      {        return new URL(url).openStream();      }    catch (MalformedURLException e)      {        return null;      }  }