org.qi4j.api.unitofwork
Class ConcurrentEntityModificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.qi4j.api.unitofwork.UnitOfWorkCompletionException
              extended by org.qi4j.api.unitofwork.ConcurrentEntityModificationException
All Implemented Interfaces:
Serializable

public class ConcurrentEntityModificationException
extends UnitOfWorkCompletionException

This exception is thrown by UnitOfWork.complete() if any entities that are being committed had been changed while the UnitOfWork was being executed.

See Also:
Serialized Form

Constructor Summary
ConcurrentEntityModificationException(Iterable<EntityComposite> concurrentlyModifiedEntities)
           
 
Method Summary
 Iterable<EntityComposite> concurrentlyModifiedEntities()
           
 String getMessage()
           
 
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

ConcurrentEntityModificationException

public ConcurrentEntityModificationException(Iterable<EntityComposite> concurrentlyModifiedEntities)
Method Detail

concurrentlyModifiedEntities

public Iterable<EntityComposite> concurrentlyModifiedEntities()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable