|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.coyotegulch.jisp.DatabaseException
com.coyotegulch.jisp.KeyNotFoundException
An ObjectIndex
throws KeyNotFoundException
when a requested key
is not found in the index. Each concrete index class * determines the circumstances under which this exception is thrown.
ObjectIndex
,
Serialized FormConstructor Summary | |
KeyNotFoundException()
Constructs a new KeyNotFoundException with null as its error message string. |
|
KeyNotFoundException(OrderedObject key)
Constructs a new KeyNotFoundException with s as its error message string. |
Method Summary | |
OrderedObject |
getKey()
Returns the key object that was not found. |
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 KeyNotFoundException()
KeyNotFoundException
with null as its error message string.
public KeyNotFoundException(OrderedObject key)
KeyNotFoundException
with s
as its error message string.
key
- Key object that was not found.Method Detail |
public OrderedObject getKey()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |