Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/ContainmentCycleDetectedException.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/ContainmentCycleDetectedException.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/ContainmentCycleDetectedException.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/ContainmentCycleDetectedException.java
index f7d417e6d3..032d855b49 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/ContainmentCycleDetectedException.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/server/ContainmentCycleDetectedException.java
@@ -10,10 +10,16 @@
*/
package org.eclipse.emf.cdo.server;
+import org.eclipse.emf.cdo.transaction.CDOTransaction;
+
/**
- * An unchecked exception that is thrown from concurrent commit operations if cycles in the tree containmnent structure
- * would result.
- *
+ * An unchecked exception that can thrown from a commit operation that is based on stale information
+ * about the tree structure of the model and would introduce a containment cycle.
+ * <p>
+ * This situation results from a network race condition and can not be prevented by write locks on
+ * the changed objects. The committing client must {@link CDOTransaction#rollback() rollback} the transaction
+ * , replay the original changes and try to {@link CDOTransaction#commit() commit} again.
+ *
* @author Eike Stepper
* @since 4.0
*/

Back to the top