LOGGER.info("Requesting OpenSearch: " + requestUrl);
document = getHttpDocument(requestUrl);
} catch (IOException e) {
// TODO: better error for user:
e.printStackTrace();
throw new ResourceIndexNotAvailableException(e.getMessage());
} catch (SAXException e) {
e.printStackTrace();
throw new ResourceIndexNotAvailableException("Unexpected SAX: " +
e.getMessage());
}
CaptureSearchResults results;
if(wbRequest.isReplayRequest() || wbRequest.isCaptureQueryRequest()) {