KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > odmg > ODMGException


1 package org.odmg;
2
3
4
5 /**
6
7  * This is the base class for all exceptions thrown by an ODMG implementation.
8
9  * @author David Jordan (as Java Editor of the Object Data Management Group)
10
11  * @version ODMG 3.0
12
13  */

14
15
16
17 public class ODMGException extends Exception JavaDoc
18
19 {
20
21     /**
22
23      * Construct an <code>ODMGException</code> object without an error message.
24
25      */

26
27     public ODMGException()
28
29     {
30
31         super();
32
33     }
34
35
36
37     /**
38
39      * Construct an <code>ODMGException</code> object with an error message.
40
41      * @param msg The error message associated with this exception.
42
43      */

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