// now that we've constructed the new URI, try to return the stream from it
try {
resp = getDataFromURI(newURI, segment.toString(), flags, state);
InputStream in = resp.getInputStream();
tmpXRDS = readXRDS(in);
log.debug("fetchAuthXRDS - got XRDS = " + tmpXRDS.serializeDescriptorDOM(false, true));
} catch (IOException e) {
log.trace("fetchAuthXRDS - got IOException from URI " + newURI);
throw makeResolutionException(xrdsOut, query, Status.NETWORK_ERROR, "Networking error encountered");
} catch (Exception e) {
log.trace("fetchAuthXRDS - " + e);