Package com.coyotegulch.jisp
Class KeyNotFound
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.coyotegulch.jisp.DatabaseException
com.coyotegulch.jisp.KeyNotFound
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newKeyNotFound
with null as its error message string.Constructs a newKeyNotFound
withs
as its error message string. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KeyNotFound
public KeyNotFound()Constructs a newKeyNotFound
with null as its error message string. -
KeyNotFound
Constructs a newKeyNotFound
withs
as its error message string.- Parameters:
s
- Error message string.
-