Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-23 13:12:04 +0000
committermkuppe2009-02-23 13:12:04 +0000
commitda7fa386f88bd882af577cd582f36c0afe0f4702 (patch)
tree9e5d8b34c9cd82a442e4fe6d5b65020733a25c91
parente1eaa0ca060ecd8efce5c91c3e9710132b913030 (diff)
downloadorg.eclipse.ecf-da7fa386f88bd882af577cd582f36c0afe0f4702.tar.gz
org.eclipse.ecf-da7fa386f88bd882af577cd582f36c0afe0f4702.tar.xz
org.eclipse.ecf-da7fa386f88bd882af577cd582f36c0afe0f4702.zip
RESOLVED - bug 257864: Turn checked into runtime exceptions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257864
-rw-r--r--compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/ServicePublicationHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/ServicePublicationHandler.java b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/ServicePublicationHandler.java
index 2a3d68cb0..b6f875fe8 100644
--- a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/ServicePublicationHandler.java
+++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery/src/org/eclipse/ecf/internal/osgi/services/discovery/ServicePublicationHandler.java
@@ -14,7 +14,7 @@ import java.net.*;
import java.util.*;
import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.core.identity.IDCreateException;
-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;
@@ -301,7 +301,7 @@ public class ServicePublicationHandler implements ServiceTrackerCustomizer {
trace("publishService", "publishing serviceReference="
+ reference + ", svcInfo=" + svcInfo);
discovery.registerService(svcInfo);
- } catch (ECFException e) {
+ } catch (ECFRuntimeException e) {
traceException("publishService", e);
removeServiceInfo(reference);
}
@@ -323,7 +323,7 @@ public class ServicePublicationHandler implements ServiceTrackerCustomizer {
IServiceInfo svcInfo = removeServiceInfo(reference);
if (svcInfo != null)
discovery.unregisterService(svcInfo);
- } catch (ECFException e) {
+ } catch (ECFRuntimeException e) {
traceException("publishService", e);
}
}

Back to the top