|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ivata.mask.util.SystemException
com.ivata.mask.persistence.PersistenceException
com.ivata.mask.persistence.FinderException
An instance of this class is thrown when we couldn't find what we were looking for.
| Constructor Summary | |
FinderException(java.lang.Class dOClass,
java.lang.Object key,
java.lang.Throwable cause)
Create a new persistence exception with the given message and cause. |
|
FinderException(java.lang.String queryName,
java.lang.Object[] queryArguments)
Create a new persistence exception with the given message and cause. |
|
| 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 |
public FinderException(java.lang.Class dOClass,
java.lang.Object key,
java.lang.Throwable cause)
dOClass - DO class.key - searched for key of the entity which could not be found.cause - cause exception from the persistence layer.
public FinderException(java.lang.String queryName,
java.lang.Object[] queryArguments)
queryName - name of the persistence query which failed.queryArguments - arguments passed to the query which failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||