org.apache.lenya.transaction
Class ConcurrentModificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.lenya.transaction.TransactionException
              extended by org.apache.lenya.transaction.ConcurrentModificationException
All Implemented Interfaces:
java.io.Serializable

public class ConcurrentModificationException
extends TransactionException

Exception which is thrown when a different identity changed a transactionable object in an optimistic offline lock scenario.

See Also:
Serialized Form

Constructor Summary
ConcurrentModificationException(Transactionable t)
           
 
Method Summary
 java.lang.String getMessage()
           
 Transactionable getTransactionable()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ConcurrentModificationException

public ConcurrentModificationException(Transactionable t)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getTransactionable

public Transactionable getTransactionable()
Returns:
The transactionable that was modified by a different identity.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.