/** * Convert the given RMI RemoteException that happened during remote access * to Spring's RemoteAccessException if the method signature does not declare * RemoteException. Else, return the original RemoteException. * @param method the invoked method * @param ex the RemoteException that happened * @return the exception to be thrown to the caller */ private Exception convertRmiAccessException(RemoteException ex, Method method) { return RmiClientInterceptorUtils.convertRmiAccessException(method, ex, isConnectFailure(ex), getJndiName()); }
/** * Convert the given RMI RemoteException that happened during remote access * to Spring's RemoteAccessException if the method signature does not declare * RemoteException. Else, return the original RemoteException. * @param method the invoked method * @param ex the RemoteException that happened * @return the exception to be thrown to the caller */ private Exception convertRmiAccessException(RemoteException ex, Method method) { return RmiClientInterceptorUtils.convertRmiAccessException(method, ex, isConnectFailure(ex), getJndiName()); }
if (isConnectFailure(ex)) { return handleRemoteConnectFailure(invocation, ex);
if (isConnectFailure(ex)) { return handleRemoteConnectFailure(invocation, ex);
/** * Convert the given RMI RemoteException that happened during remote access * to Spring's RemoteAccessException if the method signature does not declare * RemoteException. Else, return the original RemoteException. * @param method the invoked method * @param ex the RemoteException that happened * @return the exception to be thrown to the caller */ private Exception convertRmiAccessException(RemoteException ex, Method method) { return RmiClientInterceptorUtils.convertRmiAccessException(method, ex, isConnectFailure(ex), getJndiName()); }
if (isConnectFailure(ex)) { return handleRemoteConnectFailure(invocation, ex);