Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-23 13:12:02 +0000
committermkuppe2009-02-23 13:12:02 +0000
commite1eaa0ca060ecd8efce5c91c3e9710132b913030 (patch)
tree2e6e780f5b7c9fcfcef449b9eb80cc191cdba102
parent03aef52be2407329738c4caba254290e2cefbbf7 (diff)
downloadorg.eclipse.ecf-e1eaa0ca060ecd8efce5c91c3e9710132b913030.tar.gz
org.eclipse.ecf-e1eaa0ca060ecd8efce5c91c3e9710132b913030.tar.xz
org.eclipse.ecf-e1eaa0ca060ecd8efce5c91c3e9710132b913030.zip
RESOLVED - bug 257864: Turn checked into runtime exceptions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257864
-rw-r--r--framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/IDiscoveryContainerAdapter.java9
1 files changed, 2 insertions, 7 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 2fe40ad4b..8a05385d0 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
@@ -11,7 +11,6 @@ package org.eclipse.ecf.discovery;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.core.identity.Namespace;
-import org.eclipse.ecf.core.util.ECFException;
import org.eclipse.ecf.discovery.identity.*;
/**
@@ -117,10 +116,8 @@ 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 ECFException;
+ public void registerService(IServiceInfo serviceInfo);
/**
* Remove a service listener. Remove the listener from this container
@@ -160,8 +157,6 @@ public interface IDiscoveryContainerAdapter extends IAdaptable {
* @param serviceInfo
* IServiceInfo defining the service to unregister. Must not be
* <code>null</code>.
- * @throws ECFException
- * if service info cannot be unregistered with this service
*/
- public void unregisterService(IServiceInfo serviceInfo) throws ECFException;
+ public void unregisterService(IServiceInfo serviceInfo);
}

Back to the top