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:
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(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseNotFoundException

public DatabaseNotFoundException()
Construct an instance of the exception.


DatabaseNotFoundException

public DatabaseNotFoundException(String msg)
Construct an instance of the exception with a descriptive message.

Parameters:
msg - A message indicating why the exception occurred.


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.