Package 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:
Serializable
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.
- Author:
- David Jordan (as Java Editor of the Object Data Management Group)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an instance of the exception without a message.Construct an instance of the exception with the provided message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DatabaseClosedException
public DatabaseClosedException()Construct an instance of the exception without a message. -
DatabaseClosedException
Construct an instance of the exception with the provided message.- Parameters:
msg- A message indicating why the exception occurred.
-