280281282283284285286287
if (ex.getCause() instanceof SocketTimeoutException) { throw new HRTimeoutException( "Timeout of " + getTimeout() + " milliseconds exceeded.", ex); } } throw new HRConnectionException( "Error connection to the harvest repository.", ex); }
518519520521522523524525
throw (HRInvalidProtocolException) ex; } if (ex instanceof HRConnectionException) { throw (HRConnectionException) ex; } throw new HRConnectionException("Protocol connection exception", ex); } }