List of usage examples for org.springframework.remoting.rmi RmiClientInterceptorUtils isConnectFailure
public static boolean isConnectFailure(RemoteException ex)
From source file:org.jdal.remoting.rmi.RmiServiceInterceptor.java
/** * {@inheritDoc}/*w w w. j a v a2 s .c o m*/ */ public Object invoke(MethodInvocation invocation) throws Throwable { try { return invocationHandler.invoke(createRemoteInvocation(invocation)); } catch (RemoteException ex) { throw RmiClientInterceptorUtils.convertRmiAccessException(invocation.getMethod(), ex, RmiClientInterceptorUtils.isConnectFailure(ex), extractServiceUrl()); } }