org.odmg
Class DatabaseNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.odmg.ODMGException
              extended by org.odmg.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.

Version:
ODMG 3.0
Author:
David Jordan (as Java Editor of the Object Data Management Group)
See Also:
Database.open(java.lang.String, int), Serialized Form

Constructor Summary
DatabaseNotFoundException()
          Construct an instance of the exception.
DatabaseNotFoundException(java.lang.String msg)
          Construct an instance of the exception with a descriptive message.
 
Method Summary
 
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
equals, 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.


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30