org.qi4j.api.unitofwork
Class ConcurrentEntityModificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.qi4j.api.unitofwork.UnitOfWorkCompletionException
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
ConcurrentEntityModificationException
public ConcurrentEntityModificationException(Iterable<EntityComposite> concurrentlyModifiedEntities)
concurrentlyModifiedEntities
public Iterable<EntityComposite> concurrentlyModifiedEntities()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable