01: package org.odmg;
02:
03: /**
04: * This exception is thrown when the number of bound parameters for a query
05: * does not match the number of placeholders.
06: * @author David Jordan (as Java Editor of the Object Data Management Group)
07: * @version ODMG 3.0
08: */
09:
10: public class QueryParameterCountInvalidException extends QueryException {
11: /**
12: * Construct an instance of the exception.
13: */
14: public QueryParameterCountInvalidException() {
15: super ();
16: }
17:
18: /**
19: * Construct an instance of the exception with a message.
20: * @param msg A message indicating why the exception has been thrown.
21: */
22: public QueryParameterCountInvalidException(String msg) {
23: super(msg);
24: }
25: }
|