return new ByteArrayInputStream(sh.getContent());
} catch (MalformedURLException ex) {
throw new HRInvalidUrlException("Invalid URL: " + getHostUrl(), ex);
} catch (SocketTimeoutException ex) {
throw new HRTimeoutException(
"Timeout of " + getTimeout() + " milliseconds exceeded.", ex);
} catch (ConnectException ex) {
throw new HRInvalidUrlException("Invalid URL: " + getHostUrl(), ex);
} catch (IOException ex) {
throw new HRInvalidResponseException("Error reading response.", ex);