01: package org.odmg;
02:
03: /**
04:
05: * This exception is thrown when the type of a query parameter
06:
07: * is not compatible with the expected type.
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 QueryParameterTypeInvalidException extends QueryException
16:
17: {
18:
19: /**
20:
21: * Construct an instance of the exception.
22:
23: */
24:
25: public QueryParameterTypeInvalidException()
26:
27: {
28:
29: super ();
30:
31: }
32:
33: /**
34:
35: * Construct an instance of the exception with a message.
36:
37: * @param msg The message explaining details of the exception.
38:
39: */
40:
41: public QueryParameterTypeInvalidException(String msg)
42:
43: {
44:
45: super(msg);
46:
47: }
48:
49: }
|