Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2006-10-20 07:05:51 +0000
committerslewis2006-10-20 07:05:51 +0000
commitb96a18e321341492a5bb40c539bc83f69d3d728c (patch)
tree0e3d3bf1470777d8bdf3871c115727f5219f7dfb /examples/bundles/org.eclipse.ecf.example.pubsub
parentac3e31f871dd6bee689021ff91d09e2e334ec0e2 (diff)
downloadorg.eclipse.ecf-b96a18e321341492a5bb40c539bc83f69d3d728c.tar.gz
org.eclipse.ecf-b96a18e321341492a5bb40c539bc83f69d3d728c.tar.xz
org.eclipse.ecf-b96a18e321341492a5bb40c539bc83f69d3d728c.zip
Removed unnecessary exception class. Renamed <*>InstantiationException to <*>CreateException
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.pubsub')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/example/pubsub/PubSubView.java4
-rw-r--r--examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/PubSubAdapterFactory.java4
-rw-r--r--examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/ServiceRequestor.java4
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/example/pubsub/PubSubView.java b/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/example/pubsub/PubSubView.java
index 11182d5fd..f88bf9b9c 100644
--- a/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/example/pubsub/PubSubView.java
+++ b/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/example/pubsub/PubSubView.java
@@ -17,7 +17,7 @@ import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.ecf.core.ISharedObjectContainer;
import org.eclipse.ecf.core.SharedObjectCreateException;
import org.eclipse.ecf.core.identity.IDFactory;
-import org.eclipse.ecf.core.identity.IDInstantiationException;
+import org.eclipse.ecf.core.identity.IDCreateException;
import org.eclipse.ecf.example.collab.CollabClient;
import org.eclipse.ecf.pubsub.IPublishedServiceDirectory;
import org.eclipse.ecf.pubsub.IPublishedServiceDirectoryListener;
@@ -90,7 +90,7 @@ public class PubSubView extends ViewPart {
} catch (SharedObjectCreateException e) {
// TODO Auto-generated catch block
e.printStackTrace();
- } catch (IDInstantiationException e) {
+ } catch (IDCreateException e) {
throw new RuntimeException(e);
}
}
diff --git a/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/PubSubAdapterFactory.java b/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/PubSubAdapterFactory.java
index e41042f69..a47228edd 100644
--- a/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/PubSubAdapterFactory.java
+++ b/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/PubSubAdapterFactory.java
@@ -17,7 +17,7 @@ import org.eclipse.ecf.core.SharedObjectCreateException;
import org.eclipse.ecf.core.SharedObjectDescription;
import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.core.identity.IDFactory;
-import org.eclipse.ecf.core.identity.IDInstantiationException;
+import org.eclipse.ecf.core.identity.IDCreateException;
import org.eclipse.ecf.pubsub.IPublishedServiceDirectory;
import org.eclipse.ecf.pubsub.IPublishedServiceRequestor;
@@ -42,7 +42,7 @@ public class PubSubAdapterFactory implements IAdapterFactory {
ID directoryID;
try {
directoryID = IDFactory.getDefault().createStringID(PublishedServiceDirectory.SHARED_OBJECT_ID);
- } catch (IDInstantiationException e) {
+ } catch (IDCreateException e) {
throw new RuntimeException(e);
}
diff --git a/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/ServiceRequestor.java b/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/ServiceRequestor.java
index 18b01b4bd..3716da60e 100644
--- a/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/ServiceRequestor.java
+++ b/examples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/ServiceRequestor.java
@@ -18,7 +18,7 @@ import org.eclipse.ecf.core.SharedObjectCreateException;
import org.eclipse.ecf.core.SharedObjectDescription;
import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.core.identity.IDFactory;
-import org.eclipse.ecf.core.identity.IDInstantiationException;
+import org.eclipse.ecf.core.identity.IDCreateException;
import org.eclipse.ecf.pubsub.IPublishedServiceRequestor;
import org.eclipse.ecf.pubsub.ISubscriptionCallback;
@@ -50,7 +50,7 @@ public class ServiceRequestor implements IPublishedServiceRequestor {
ID id;
try {
id = IDFactory.getDefault().createGUID();
- } catch (IDInstantiationException e) {
+ } catch (IDCreateException e) {
throw new RuntimeException(e);
}

Back to the top