Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-09-09 01:36:34 -0400
committerslewis2009-09-09 01:36:34 -0400
commit1826910d786845eb182207f847b5caebaf7c34fd (patch)
tree358bf392b969c9858258cc318b0fef36c2539bd2
parent7740634bdabb4b254f8a13e0958c70631bd743a2 (diff)
downloadorg.eclipse.ecf-1826910d786845eb182207f847b5caebaf7c34fd.tar.gz
org.eclipse.ecf-1826910d786845eb182207f847b5caebaf7c34fd.tar.xz
org.eclipse.ecf-1826910d786845eb182207f847b5caebaf7c34fd.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=287663v20090909-0800
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/RemoteServiceImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/RemoteServiceImpl.java b/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/RemoteServiceImpl.java
index 6f8502030..ca972885a 100644
--- a/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/RemoteServiceImpl.java
+++ b/providers/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/RemoteServiceImpl.java
@@ -14,8 +14,7 @@ package org.eclipse.ecf.internal.provider.r_osgi;
import ch.ethz.iks.r_osgi.RemoteOSGiException;
import java.lang.reflect.*;
import java.util.Arrays;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.core.runtime.*;
import org.eclipse.ecf.core.util.ECFException;
import org.eclipse.ecf.remoteservice.*;
import org.eclipse.ecf.remoteservice.events.IRemoteCallCompleteEvent;
@@ -113,6 +112,9 @@ final class RemoteServiceImpl implements IRemoteService, InvocationHandler {
} catch (TimeoutException e) {
throw new ECFException(NLS.bind("callSync timed out after {0} ms", Long.toString(call.getTimeout())), new TimeoutException(call.getTimeout())); //$NON-NLS-1$
}
+ IStatus status = future.getStatus();
+ if (!status.isOK())
+ throw new ECFException("Exception during callSync", status.getException()); //$NON-NLS-1$
return result;
}

Back to the top