org.odmg
Class DatabaseClosedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.odmg.ODMGRuntimeException
                          |
                          +--org.odmg.DatabaseClosedException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseClosedException
extends ODMGRuntimeException

This exception is thrown when an attempt is made to call a method on a Database that has been closed or has not been opened.

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

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
DatabaseClosedException()
          Construct an instance of the exception without a message.
DatabaseClosedException(java.lang.String msg)
          Construct an instance of the exception with the provided message.
 
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

DatabaseClosedException

public DatabaseClosedException()
Construct an instance of the exception without a message.


DatabaseClosedException

public DatabaseClosedException(java.lang.String msg)
Construct an instance of the exception with the provided message.

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


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04