List of usage examples for org.springframework.remoting.rmi RmiClientInterceptorUtils convertRmiAccessException
public static Exception convertRmiAccessException(Method method, RemoteException ex, boolean isConnectFailure, String serviceName)
From source file:org.jdal.remoting.rmi.RmiServiceInterceptor.java
/** * {@inheritDoc}//from w ww. ja v a 2 s . c om */ 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()); } }