01: package org.odmg;
02:
03: /**
04:
05: * This exception is thrown when attempting to open a database that is already open.
06:
07: * @author David Jordan (as Java Editor of the Object Data Management Group)
08:
09: * @version ODMG 3.0
10:
11: * @see org.odmg.Database#open
12:
13: */
14:
15: public class DatabaseOpenException extends ODMGException
16:
17: {
18:
19: /**
20:
21: * Construct an instance of the exception.
22:
23: */
24:
25: public DatabaseOpenException()
26:
27: {
28:
29: super ();
30:
31: }
32:
33: /**
34:
35: * Construct an instance of the exception with a descriptive message.
36:
37: * @param msg A message indicating why the exception occurred.
38:
39: */
40:
41: public DatabaseOpenException(String msg)
42:
43: {
44:
45: super(msg);
46:
47: }
48:
49: }
|