Package org.odmg

Class DatabaseOpenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatabaseOpenException
    extends ODMGException
    This exception is thrown when attempting to open a database that is already open.
    Author:
    David Jordan (as Java Editor of the Object Data Management Group)
    See Also:
    Database.open(java.lang.String, int), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseOpenException()
      Construct an instance of the exception.
      DatabaseOpenException​(java.lang.String msg)
      Construct an instance of the exception with a descriptive message.
    • 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

      • DatabaseOpenException

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

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