Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-23 13:12:06 +0000
committermkuppe2009-02-23 13:12:06 +0000
commit08bd17ed77bef69ce47fa9f2274851e72cf21f19 (patch)
treed83489d7d8064872f8e5238027be08bf2023f5df
parent9d8c103d771937fc4abcf228451f9343dcc3b42a (diff)
downloadorg.eclipse.ecf-08bd17ed77bef69ce47fa9f2274851e72cf21f19.tar.gz
org.eclipse.ecf-08bd17ed77bef69ce47fa9f2274851e72cf21f19.tar.xz
org.eclipse.ecf-08bd17ed77bef69ce47fa9f2274851e72cf21f19.zip
RESOLVED - bug 257864: Turn checked into runtime exceptions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257864
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/DiscoverableServer.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/DiscoverableServer.java b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/DiscoverableServer.java
index f0d7c1616..60c32c8df 100644
--- a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/DiscoverableServer.java
+++ b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/DiscoverableServer.java
@@ -15,7 +15,6 @@ import java.util.Properties;
import org.eclipse.core.runtime.Assert;
import org.eclipse.ecf.core.*;
import org.eclipse.ecf.core.identity.*;
-import org.eclipse.ecf.core.util.ECFException;
import org.eclipse.ecf.discovery.*;
import org.eclipse.ecf.discovery.identity.IServiceID;
import org.eclipse.ecf.discovery.identity.ServiceIDFactory;
@@ -127,11 +126,7 @@ public class DiscoverableServer implements IApplication {
public void stop() {
if (serviceInfo != null) {
if (discoveryService != null) {
- try {
- discoveryService.unregisterService(serviceInfo);
- } catch (final ECFException e) {
- e.printStackTrace();
- }
+ discoveryService.unregisterService(serviceInfo);
serviceInfo = null;
final IContainer container = (IContainer) discoveryService.getAdapter(IContainer.class);
if (container != null) {

Back to the top