Dekoh platform API

dekoh.portal.fwk.persistence
Class NoSuchEntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.persistence.PersistenceException
                  extended by javax.persistence.NoResultException
                      extended by dekoh.portal.fwk.persistence.NoSuchEntityException
All Implemented Interfaces:
Serializable

public class NoSuchEntityException
extends NoResultException

Will be thrown when find by primary key of an Entity fails.

Since:
Jun 19, 2008
See Also:
Serialized Form

Constructor Summary
NoSuchEntityException(String entityClassName, int pk)
           
NoSuchEntityException(String entityClassName, String applicationId, int pk)
           
 
Method Summary
static NoSuchEntityException noShareOwned(int shareId)
           
static NoSuchEntityException noShareOwned(int shareId, LocalUser owner)
           
static NoSuchEntityException noShareOwned(int shareId, LocalUser owner, NoResultException e)
           
 
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

NoSuchEntityException

public NoSuchEntityException(String entityClassName,
                             String applicationId,
                             int pk)

NoSuchEntityException

public NoSuchEntityException(String entityClassName,
                             int pk)
Method Detail

noShareOwned

public static NoSuchEntityException noShareOwned(int shareId,
                                                 LocalUser owner,
                                                 NoResultException e)

noShareOwned

public static NoSuchEntityException noShareOwned(int shareId)

noShareOwned

public static NoSuchEntityException noShareOwned(int shareId,
                                                 LocalUser owner)

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers