diff options
-rw-r--r-- | server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/DiscoverableServer.java | 7 |
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) { |