01: package org.odmg;
02:
03: /**
04: * This exception is thrown if the query is not a valid OQL query.
05: * @author David Jordan (as Java Editor of the Object Data Management Group)
06: * @version ODMG 3.0
07: */
08:
09: public class QueryInvalidException extends QueryException {
10: /**
11: * Construct an instance of the exception.
12: */
13: public QueryInvalidException() {
14: super ();
15: }
16:
17: /**
18: * Construct an instance of the exception.
19: * @param msg A string indicating why the <code>OQLQuery</code> instance does not
20: * represent a valid OQL query.
21: */
22: public QueryInvalidException(String msg) {
23: super(msg);
24: }
25: }
|