Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrellerme2008-04-29 11:18:15 +0000
committerjrellerme2008-04-29 11:18:15 +0000
commit230641f69a3726a0df024f81922bc96adb11c78b (patch)
treebe96b3c52e81c5c63478c500548e55a414c431b9
parentb3cfacd67df087c37fb439c0ca95ff0b58004eb8 (diff)
downloadorg.eclipse.ecf-230641f69a3726a0df024f81922bc96adb11c78b.tar.gz
org.eclipse.ecf-230641f69a3726a0df024f81922bc96adb11c78b.tar.xz
org.eclipse.ecf-230641f69a3726a0df024f81922bc96adb11c78b.zip
adding the IOException that will be thrown by the RC2 version to avoid api breakings
-rw-r--r--protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/RemoteOSGiService.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/RemoteOSGiService.java b/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/RemoteOSGiService.java
index 80efcf7be..0692e850e 100644
--- a/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/RemoteOSGiService.java
+++ b/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/RemoteOSGiService.java
@@ -28,6 +28,8 @@
*/
package ch.ethz.iks.r_osgi;
+import java.io.IOException;
+
import org.osgi.framework.Filter;
import ch.ethz.iks.r_osgi.URI;
import ch.ethz.iks.r_osgi.channels.ChannelEndpointManager;
@@ -153,10 +155,12 @@ public interface RemoteOSGiService {
* @return the array of remote service references of the services that the
* remote frameworks offers.
* @throws RemoteOSGiException
+ * in case of protocol errors
+ * @throws IOException
* in case of connection errors.
* @since 0.6
*/
- RemoteServiceReference[] connect(final URI endpoint) throws RemoteOSGiException;
+ RemoteServiceReference[] connect(final URI endpoint) throws IOException, RemoteOSGiException;
/**
* disconnect from a connected host.

Back to the top