org.qi4j.api.unitofwork

## Class NoSuchEntityException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.qi4j.api.unitofwork.UnitOfWorkException
        - - org.qi4j.api.unitofwork.NoSuchEntityException

- All Implemented Interfaces:
    Serializable

      public class NoSuchEntityException
      extends UnitOfWorkException

  This exception indicates that the requested Entity with the given identity does not exist.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoSuchEntityException(EntityReference identity, Class<?>[] mixinTypes, Usecase usecase)`
    `NoSuchEntityException(EntityReference identity, Class<?> mixinType, Usecase usecase)`
    `NoSuchEntityException(EntityReference identity, Iterable<Class<?>> types, Usecase usecase)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EntityReference` | `identity()`
    `Class<?>[]` | `mixinTypes()`
    `Usecase` | `usecase()`

    - ### 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

    - #### NoSuchEntityException

          public NoSuchEntityException(EntityReference identity,
                               Class<?> mixinType,
                               Usecase usecase)

    - #### NoSuchEntityException

          public NoSuchEntityException(EntityReference identity,
                               Class<?>[] mixinTypes,
                               Usecase usecase)

    - #### NoSuchEntityException

          public NoSuchEntityException(EntityReference identity,
                               Iterable<Class<?>> types,
                               Usecase usecase)

  - ### Method Detail

    - #### identity

          public EntityReference identity()

    - #### mixinTypes

          public Class<?>[] mixinTypes()

    - #### usecase

          public Usecase usecase()