org.qi4j.api.unitofwork
Class EntityCompositeAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.qi4j.api.unitofwork.UnitOfWorkException
                  extended by org.qi4j.api.unitofwork.EntityCompositeAlreadyExistsException
All Implemented Interfaces:
Serializable

public class EntityCompositeAlreadyExistsException
extends UnitOfWorkException

If you try to create an EntityComposite whose identity already exists, then this exception will be thrown.

See Also:
Serialized Form

Constructor Summary
EntityCompositeAlreadyExistsException(EntityReference identity)
           
 
Method Summary
 EntityReference identity()
           
 
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

EntityCompositeAlreadyExistsException

public EntityCompositeAlreadyExistsException(EntityReference identity)
Method Detail

identity

public EntityReference identity()