01: package org.odmg;
02:
03: /**
04:
05: * This exception is thrown when the number of bound parameters for a query
06:
07: * does not match the number of placeholders.
08:
09: * @author David Jordan (as Java Editor of the Object Data Management Group)
10:
11: * @version ODMG 3.0
12:
13: */
14:
15: public class QueryParameterCountInvalidException extends QueryException
16:
17: {
18:
19: /**
20:
21: * Construct an instance of the exception.
22:
23: */
24:
25: public QueryParameterCountInvalidException()
26:
27: {
28:
29: super ();
30:
31: }
32:
33: /**
34:
35: * Construct an instance of the exception with a message.
36:
37: * @param msg A message indicating why the exception has been thrown.
38:
39: */
40:
41: public QueryParameterCountInvalidException(String msg)
42:
43: {
44:
45: super(msg);
46:
47: }
48:
49: }
|