KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > odmg > QueryInvalidException


1 package org.odmg;
2
3
4
5 /**
6
7  * This exception is thrown if the query is not a valid OQL query.
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 QueryInvalidException extends QueryException
18
19 {
20
21     /**
22
23      * Construct an instance of the exception.
24
25      */

26
27     public QueryInvalidException()
28
29     {
30
31         super();
32
33     }
34
35
36
37     /**
38
39      * Construct an instance of the exception.
40
41      * @param msg A string indicating why the <code>OQLQuery</code> instance does not
42
43      * represent a valid OQL query.
44
45      */

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