Package org.odmg

Class DatabaseNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatabaseNotFoundException
    extends ODMGException
    This exception is thrown when attempting to open a database that does not exist. This could be caused by the name provided to Database.open being incorrect.
    Author:
    David Jordan (as Java Editor of the Object Data Management Group)
    See Also:
    Database.open(java.lang.String, int), Serialized Form
    • 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

      • DatabaseNotFoundException

        public DatabaseNotFoundException()
        Construct an instance of the exception.
      • DatabaseNotFoundException

        public DatabaseNotFoundException​(java.lang.String msg)
        Construct an instance of the exception with a descriptive message.
        Parameters:
        msg - A message indicating why the exception occurred.