List of usage examples for org.springframework.remoting RemoteConnectFailureException getRootCause
@Nullable
public Throwable getRootCause()
From source file:com.payu.ratel.client.RatelHessianProxyFactoryBean.java
private Object doInvoke(MethodInvocation invocation) throws Throwable { Object result;/* w ww . ja v a 2 s. c om*/ try { result = super.invoke(invocation); return result; } catch (RemoteConnectFailureException e) { throw e; } catch (RemoteAccessException e) { if (e.getRootCause() != null) { throw e.getRootCause(); } else { throw e; } } }