finally {
resetThreadContextClassLoader(originalClassLoader);
}
}
protected RemoteAccessException convertHessianAccessException(Throwable ex) {
<BUG>if (ex instanceof ConnectException) {
return new RemoteConnectFailureException(</BUG>
"Cannot connect to Hessian remote service at [" + getServiceUrl() + "]", ex);
}
else {

finally {
resetThreadContextClassLoader(originalClassLoader);
}
}
protected RemoteAccessException convertHessianAccessException(Throwable ex) {
if (ex instanceof HessianConnectionException || ex instanceof ConnectException) {
return new RemoteConnectFailureException(
"Cannot connect to Hessian remote service at [" + getServiceUrl() + "]", ex);
}
else {
