KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > hql > ast > ParseErrorHandler


1 // $Id: ParseErrorHandler.java,v 1.6 2004/12/11 16:31:17 pgmjsd Exp $
2

3 package org.hibernate.hql.ast;
4
5 import org.hibernate.QueryException;
6
7
8 /**
9  * Defines the behavior of an error handler for the HQL parsers.
10  * User: josh
11  * Date: Dec 6, 2003
12  * Time: 12:20:43 PM
13  */

14 public interface ParseErrorHandler extends ErrorReporter {
15
16     int getErrorCount();
17
18     // --Commented out by Inspection (12/11/04 10:56 AM): int getWarningCount();
19

20     void throwQueryException() throws QueryException;
21 }
22
Popular Tags