com.ivata.mask.persistence
Class FinderException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ivata.mask.util.SystemException
              extended bycom.ivata.mask.persistence.PersistenceException
                  extended bycom.ivata.mask.persistence.FinderException
All Implemented Interfaces:
java.io.Serializable

public class FinderException
extends PersistenceException

An instance of this class is thrown when we couldn't find what we were looking for.

Since:
ivata masks 0.3 (2004-03-29)
Version:
$Revision: 1.4 $
Author:
Colin MacLeod colin.macleod@ivata.com
See Also:
Serialized Form

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

FinderException

public FinderException(java.lang.Class dOClass,
                       java.lang.Object key,
                       java.lang.Throwable cause)
Create a new persistence exception with the given message and cause.

Parameters:
dOClass - DO class.
key - searched for key of the entity which could not be found.
cause - cause exception from the persistence layer.

FinderException

public FinderException(java.lang.String queryName,
                       java.lang.Object[] queryArguments)
Create a new persistence exception with the given message and cause.

Parameters:
queryName - name of the persistence query which failed.
queryArguments - arguments passed to the query which failed.


Copyright © 2001-2005 ivata limited. All Rights Reserved.