org.eclipse.emf.cdo.util
Class StaleRevisionLockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.emf.cdo.common.util.CDOException
                  extended by org.eclipse.emf.cdo.util.StaleRevisionLockException
All Implemented Interfaces:
Serializable

public class StaleRevisionLockException
extends CDOException

An unchecked exception being thrown when attempting to lock stale objects.

An object is considered stale if its revision is older than the latest server revision in the same branch.

Since:
4.0
See Also:
Serialized Form
No Extend
This interface is not intended to be extended by clients.
No Instantiate
This class is not intended to be instantiated by clients.

Constructor Summary
StaleRevisionLockException(CDORevisionKey[] staleRevisions)
           
 
Method Summary
 CDORevisionKey[] getStaleRevisions()
           
 
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

StaleRevisionLockException

public StaleRevisionLockException(CDORevisionKey[] staleRevisions)
Method Detail

getStaleRevisions

public CDORevisionKey[] getStaleRevisions()


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