KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > odmg > DatabaseOpenException


1 package org.odmg;
2
3
4
5 /**
6
7  * This exception is thrown when attempting to open a database that is already open.
8
9  * @author David Jordan (as Java Editor of the Object Data Management Group)
10
11  * @version ODMG 3.0
12
13  * @see org.odmg.Database#open
14
15  */

16
17
18
19 public class DatabaseOpenException extends ODMGException
20
21 {
22
23     /**
24
25      * Construct an instance of the exception.
26
27      */

28
29     public DatabaseOpenException()
30
31     {
32
33         super();
34
35     }
36
37
38
39     /**
40
41      * Construct an instance of the exception with a descriptive message.
42
43      * @param msg A message indicating why the exception occurred.
44
45      */

46
47     public DatabaseOpenException(String JavaDoc msg)
48
49     {
50
51         super(msg);
52
53     }
54
55 }
56
57
Popular Tags