KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > odmg > QueryParameterCountInvalidException


1 package org.odmg;
2
3
4
5 /**
6
7  * This exception is thrown when the number of bound parameters for a query
8
9  * does not match the number of placeholders.
10
11  * @author David Jordan (as Java Editor of the Object Data Management Group)
12
13  * @version ODMG 3.0
14
15  */

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

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

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