com.coyotegulch.jisp
Class KeyNotFound

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.coyotegulch.jisp.DatabaseException
                  extended by com.coyotegulch.jisp.KeyNotFound
All Implemented Interfaces:
java.io.Serializable

public class KeyNotFound
extends DatabaseException

An ObjectIndex throws KeyNotFound when a requested key is not found in the index. Each concrete index class * determines the circumstances under which this exception is thrown.

See Also:
ObjectIndex, Serialized Form

Constructor Summary
KeyNotFound()
          Constructs a new KeyNotFound with null as its error message string.
KeyNotFound(java.lang.String s)
          Constructs a new KeyNotFound with s as its error message string.
 
Method Summary
 
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

KeyNotFound

public KeyNotFound()
Constructs a new KeyNotFound with null as its error message string.


KeyNotFound

public KeyNotFound(java.lang.String s)
Constructs a new KeyNotFound with s as its error message string.

Parameters:
s - Error message string.