org.qi4j.spi.entitystore
Class ConcurrentEntityStateModificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.qi4j.spi.entitystore.EntityStoreException
                  extended by org.qi4j.spi.entitystore.ConcurrentEntityStateModificationException
All Implemented Interfaces:
Serializable

public class ConcurrentEntityStateModificationException
extends EntityStoreException

This exception should be thrown if the EntityStore detects that the entities being saved have been changed since they were created.

See Also:
Serialized Form

Constructor Summary
ConcurrentEntityStateModificationException(Collection<EntityReference> modifiedEntities)
           
 
Method Summary
 String getMessage()
           
 Collection<EntityReference> modifiedEntities()
           
 
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

ConcurrentEntityStateModificationException

public ConcurrentEntityStateModificationException(Collection<EntityReference> modifiedEntities)
Method Detail

modifiedEntities

public Collection<EntityReference> modifiedEntities()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable