org.qi4j.api.unitofwork
Class NoSuchEntityException

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.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
NoSuchEntityException(EntityReference identity)
           
 
Method Summary
 String getMessage()
           
 EntityReference identity()
           
 
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

NoSuchEntityException

public NoSuchEntityException(EntityReference identity)
Method Detail

identity

public EntityReference identity()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable