Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-23 13:12:05 +0000
committermkuppe2009-02-23 13:12:05 +0000
commit9d8c103d771937fc4abcf228451f9343dcc3b42a (patch)
tree97866c2fd9193e19c5321e6b8e4c074d4b8115c6
parentda7fa386f88bd882af577cd582f36c0afe0f4702 (diff)
downloadorg.eclipse.ecf-9d8c103d771937fc4abcf228451f9343dcc3b42a.tar.gz
org.eclipse.ecf-9d8c103d771937fc4abcf228451f9343dcc3b42a.tar.xz
org.eclipse.ecf-9d8c103d771937fc4abcf228451f9343dcc3b42a.zip
RESOLVED - bug 257864: Turn checked into runtime exceptionsv20090223-0800
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257864
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPDiscoveryContainer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPDiscoveryContainer.java b/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPDiscoveryContainer.java
index 582ae80e7..9c3826273 100644
--- a/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPDiscoveryContainer.java
+++ b/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPDiscoveryContainer.java
@@ -18,7 +18,7 @@ import org.eclipse.ecf.core.ContainerConnectException;
import org.eclipse.ecf.core.events.*;
import org.eclipse.ecf.core.identity.*;
import org.eclipse.ecf.core.security.IConnectContext;
-import org.eclipse.ecf.core.util.ECFException;
+import org.eclipse.ecf.core.util.ECFRuntimeException;
import org.eclipse.ecf.core.util.Trace;
import org.eclipse.ecf.discovery.*;
import org.eclipse.ecf.discovery.identity.IServiceID;
@@ -180,7 +180,7 @@ public class JSLPDiscoveryContainer extends AbstractDiscoveryContainerAdapter im
/* (non-Javadoc)
* @see org.eclipse.ecf.discovery.IDiscoveryContainerAdapter#registerService(org.eclipse.ecf.discovery.IServiceInfo)
*/
- public void registerService(IServiceInfo aServiceInfo) throws ECFException {
+ public void registerService(IServiceInfo aServiceInfo) {
Assert.isNotNull(aServiceInfo);
try {
JSLPServiceInfo si = new JSLPServiceInfo(aServiceInfo);
@@ -188,7 +188,7 @@ public class JSLPDiscoveryContainer extends AbstractDiscoveryContainerAdapter im
Activator.getDefault().getAdvertiser().register(si.getServiceURL(), Arrays.asList(stid.getScopes()), new ServicePropertiesAdapter(si).toProperties());
} catch (ServiceLocationException e) {
Trace.catching(Activator.PLUGIN_ID, JSLPDebugOptions.EXCEPTIONS_CATCHING, this.getClass(), "registerService(IServiceInfo)", e); //$NON-NLS-1$
- throw new ECFException(e.getMessage(), e);
+ throw new ECFRuntimeException(e.getMessage(), e);
}
}

Back to the top