org.eclipse.emf.cdo.server
Class ContainmentCycleDetectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by org.eclipse.emf.cdo.server.ContainmentCycleDetectedException
All Implemented Interfaces:
Serializable

Deprecated. As of 4.2 no longer used in the server; replaced by ContainmentCycleException in the client.

@Deprecated
public class ContainmentCycleDetectedException
  
extends IllegalStateException

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.

This situation results from a network race condition and can not be prevented by write locks on the changed objects. The committing client must rollback the transaction , replay the original changes and try to commit again.

Since:
4.0
See Also:
Serialized Form

Constructor Summary
ContainmentCycleDetectedException()
          Deprecated.  
ContainmentCycleDetectedException(String s)
          Deprecated.  
ContainmentCycleDetectedException(String message, Throwable cause)
          Deprecated.  
ContainmentCycleDetectedException(Throwable cause)
          Deprecated.  
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainmentCycleDetectedException

public ContainmentCycleDetectedException()
Deprecated. 

ContainmentCycleDetectedException

public ContainmentCycleDetectedException(String message,
                                         Throwable cause)
Deprecated. 

ContainmentCycleDetectedException

public ContainmentCycleDetectedException(String s)
Deprecated. 

ContainmentCycleDetectedException

public ContainmentCycleDetectedException(Throwable cause)
Deprecated. 


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.