Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-06-21 19:11:31 -0400
committerslewis2007-06-21 19:11:31 -0400
commit3153ecc799bd9e658ac55045fe89e9436e70b717 (patch)
treeffd37cb5cf260bd9a76c6b22514542fa5f96780a
parentcc9e7fa4af8bd895b6b4a1810b17e0b0e3535053 (diff)
downloadorg.eclipse.ecf-3153ecc799bd9e658ac55045fe89e9436e70b717.tar.gz
org.eclipse.ecf-3153ecc799bd9e658ac55045fe89e9436e70b717.tar.xz
org.eclipse.ecf-3153ecc799bd9e658ac55045fe89e9436e70b717.zip
Changed IOException to ECFException in IDiscoveryContainerAdapter.registerService.
-rw-r--r--framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java b/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java
index d26c7f4da..c8ea5f3cc 100644
--- a/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java
+++ b/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java
@@ -9,9 +9,8 @@
package org.eclipse.ecf.discovery;
-import java.io.IOException;
-
import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.ecf.core.util.ECFException;
import org.eclipse.ecf.discovery.identity.IServiceID;
/**
@@ -89,8 +88,10 @@ public interface IDiscoveryContainerAdapter extends IAdaptable {
* @param serviceInfo
* IServiceInfo of the service to be published. Must not be
* <code>null</code>.
+ * @throws ECFException
+ * if service info cannot be registered with this service
*/
- public void registerService(IServiceInfo serviceInfo) throws IOException;
+ public void registerService(IServiceInfo serviceInfo) throws ECFException;
/**
* Synchronously (within given timeout) retrieve info about the service

Back to the top