1 /* 2 * Copyright 2004-2005 Gary Bentley 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may 5 * not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 package org.josql; 16 17 /** 18 * The exception that is thrown during the <b>parse</b> and <b>init</b> 19 * parts of the Query execution. 20 * <p> 21 * Last Modified By: $Author: barrygently $<br /> 22 * Last Modified On: $Date: 2004/12/20 16:22:42 $<br /> 23 * Current Revision: $Revision: 1.2 $<br /> 24 */ 25 public class QueryParseException extends Exception 26 { 27 28 public QueryParseException (String message, 29 Throwable cause) 30 { 31 32 super (message, 33 cause); 34 35 } 36 37 public QueryParseException (String message) 38 { 39 40 super (message); 41 42 } 43 44 } 45