summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-07-24 02:41:32 (EDT)
committerEike Stepper2007-07-24 02:41:32 (EDT)
commitc793ca705c950d674e3e77430d9a027d4973e57a (patch)
tree7e672a90ec7d88f692c75afa168a52db1de0ec15
parentd347d2a6cf024534cf76a4d48651daacabd1253f (diff)
downloadcdo-c793ca705c950d674e3e77430d9a027d4973e57a.zip
cdo-c793ca705c950d674e3e77430d9a027d4973e57a.tar.gz
cdo-c793ca705c950d674e3e77430d9a027d4973e57a.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOSessionImpl.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOSessionImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOSessionImpl.java
index 5e8d107..39b7e14 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOSessionImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOSessionImpl.java
@@ -18,6 +18,7 @@ import org.eclipse.emf.cdo.internal.protocol.CDOIDImpl;
import org.eclipse.emf.cdo.internal.protocol.CDOIDRangeImpl;
import org.eclipse.emf.cdo.protocol.CDOID;
import org.eclipse.emf.cdo.protocol.CDOIDRange;
+import org.eclipse.emf.cdo.protocol.util.ImplementationError;
import org.eclipse.emf.cdo.util.CDOUtil;
import org.eclipse.net4j.ConnectorException;
@@ -393,6 +394,10 @@ public class CDOSessionImpl extends Lifecycle implements CDOSession
resourceMap = rs.getURIResourceMap();
rs.setURIResourceMap(new ProxyResolverURIResourceMap(view, resourceMap));
}
+ else
+ {
+ throw new ImplementationError("Not a " + ResourceSetImpl.class.getName());
+ }
synchronized (views)
{
@@ -590,7 +595,7 @@ public class CDOSessionImpl extends Lifecycle implements CDOSession
}
/*
- * Called by {@link ResourceSetImpl#getResource(URI, boolean)}
+ * @ADDED Called by {@link ResourceSetImpl#getResource(URI, boolean)}
*/
public boolean isLoaded()
{
@@ -598,7 +603,7 @@ public class CDOSessionImpl extends Lifecycle implements CDOSession
}
/*
- * Called by {@link ResourceSetImpl#getEObject(URI, boolean)}
+ * @ADDED Called by {@link ResourceSetImpl#getEObject(URI, boolean)}
*/
public EObject getEObject(String uriFragment)
{