Source code: org/odmg/DatabaseOpenException.java
1 package org.odmg;
2
3 /**
4 * This exception is thrown when attempting to open a database that is already open.
5 * @author David Jordan (as Java Editor of the Object Data Management Group)
6 * @version ODMG 3.0
7 * @see org.odmg.Database#open
8 */
9
10 public class DatabaseOpenException extends ODMGException
11 {
12 /**
13 * Construct an instance of the exception.
14 */
15 public DatabaseOpenException()
16 {
17 super();
18 }
19
20 /**
21 * Construct an instance of the exception with a descriptive message.
22 * @param msg A message indicating why the exception occurred.
23 */
24 public DatabaseOpenException(String msg)
25 {
26 super(msg);
27 }
28 }