Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-06-21 19:11:28 -0400
committerslewis2007-06-21 19:11:28 -0400
commit187729aeeca916e161a990c2b2158db4e231b4cb (patch)
tree89cec29a1be9937a93cfa7f8dc092a4cf7ff212c
parent274463ce20c484b594ba227f2dc1078215afcb17 (diff)
downloadorg.eclipse.ecf-187729aeeca916e161a990c2b2158db4e231b4cb.tar.gz
org.eclipse.ecf-187729aeeca916e161a990c2b2158db4e231b4cb.tar.xz
org.eclipse.ecf-187729aeeca916e161a990c2b2158db4e231b4cb.zip
Changed IOException to ECFException in IDiscoveryContainerAdapter.registerService.
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/DiscoveryStartup.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/DiscoveryStartup.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/DiscoveryStartup.java
index f7b66f987..20925ee8c 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/DiscoveryStartup.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/DiscoveryStartup.java
@@ -10,14 +10,14 @@
*****************************************************************************/
package org.eclipse.ecf.internal.example.collab;
-import java.io.IOException;
import java.net.InetAddress;
import java.net.URI;
import java.util.Properties;
+
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.ecf.core.ContainerFactory;
import org.eclipse.ecf.core.ContainerCreateException;
+import org.eclipse.ecf.core.ContainerFactory;
import org.eclipse.ecf.core.IContainer;
import org.eclipse.ecf.core.sharedobject.ISharedObjectContainer;
import org.eclipse.ecf.discovery.IDiscoveryContainerAdapter;
@@ -135,8 +135,8 @@ public class DiscoveryStartup {
SVC_DEF_PRIORITY, SVC_DEF_WEIGHT,
new ServiceProperties(props));
discovery.registerService(svcInfo);
- } catch (IOException e) {
- ClientPlugin.log("Exception registering service " + uri);
+ } catch (Exception e) {
+ ClientPlugin.log("Exception registering service " + uri,e);
}
} else {
ClientPlugin.log("Cannot register service " + uri

Back to the top