parser.getError(response);
return parser.getResults(response);
}
catch (MalformedURLException e) {
logger.error(e);
throw new ConnectionException("Could not connect to host", e);
} catch (IOException e) {
logger.error(e);
throw new ConnectionException("Could not connect to host", e);
}
}