Source code: org/odmg/QueryException.java
1 package org.odmg;
2
3 /**
4 * This is the base class for all exceptions associated with queries.
5 * @author David Jordan (as Java Editor of the Object Data Management Group)
6 * @version ODMG 3.0
7 */
8
9 public class QueryException extends ODMGException
10 {
11 /**
12 * Constructs an instance of the exception.
13 */
14 public QueryException()
15 {
16 super();
17 }
18
19 /**
20 * Constructs an instance of the exception with a message indicating the reason
21 * for the exception.
22 * @param msg A message indicating the reason for the exception.
23 */
24 public QueryException(String msg)
25 {
26 super(msg);
27 }
28 }