001 package org.odmg; 002 003 004 005 /** 006 007 * This is the base class for all exceptions associated with queries. 008 009 * @author David Jordan (as Java Editor of the Object Data Management Group) 010 011 * @version ODMG 3.0 012 013 */ 014 015 016 017 public class QueryException extends ODMGException 018 019 { 020 021 /** 022 023 * Constructs an instance of the exception. 024 025 */ 026 027 public QueryException() 028 029 { 030 031 super(); 032 033 } 034 035 036 037 /** 038 039 * Constructs an instance of the exception with a message indicating the reason 040 041 * for the exception. 042 043 * @param msg A message indicating the reason for the exception. 044 045 */ 046 047 public QueryException(String msg) 048 049 { 050 051 super(msg); 052 053 } 054 055 } 056