org.qi4j.api.unitofwork

## Class EntityCompositeAlreadyExistsException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.qi4j.api.unitofwork.UnitOfWorkException
        - - 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

    Constructors
    Constructor and Description
    `EntityCompositeAlreadyExistsException(EntityReference identity)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EntityReference` | `identity()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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()