001    package org.odmg;
002    
003    
004    
005    /**
006    
007     * This exception is thrown if the query is not a valid OQL query.
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 QueryInvalidException extends QueryException
018    
019    {
020    
021        /**
022    
023         * Construct an instance of the exception.
024    
025         */
026    
027        public QueryInvalidException()
028    
029        {
030    
031            super();
032    
033        }
034    
035    
036    
037        /**
038    
039         * Construct an instance of the exception.
040    
041         * @param   msg     A string indicating why the <code>OQLQuery</code> instance does not
042    
043         * represent a valid OQL query.
044    
045         */
046    
047        public QueryInvalidException(String msg)
048    
049        {
050    
051            super(msg);
052    
053        }
054    
055    }
056