org.smartcomps.twister.common.persistence
Class FinderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.smartcomps.twister.engine.exception.EngineException
                    |
                    +--org.smartcomps.twister.common.persistence.FinderException
All Implemented Interfaces:
java.io.Serializable

public class FinderException
extends EngineException

Thrown when the result obtained after executing a finder is not consistent with the finder (i.e. a findById that returns no result or a findByName that returns many result when names are supposed to be unique). Usually thrown when the finder parameters are not accurate or when there are incoherent data in the database.

See Also:
Serialized Form

Constructor Summary
FinderException(java.lang.String s)
           
FinderException(java.lang.String s, java.lang.Throwable throwable)
           
FinderException(java.lang.Throwable throwable)
           
 
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.String s)

FinderException

public FinderException(java.lang.String s,
                       java.lang.Throwable throwable)

FinderException

public FinderException(java.lang.Throwable throwable)


Copyright © 2003 SmartComps. All Rights Reserved.