Class 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

      Constructors 
      Constructor Description
      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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.