1 // $Id: ErrorReporter.java,v 1.2 2004/06/29 02:40:43 pgmjsd Exp $2 package org.hibernate.hql.ast;3 4 import antlr.RecognitionException;5 6 /**7 * Implementations will report or handle errors invoked by an ANTLR base parser.8 *9 * @author josh Jun 27, 2004 9:49:55 PM10 */11 public interface ErrorReporter {12 void reportError(RecognitionException e);13 14 void reportError(String s);15 16 void reportWarning(String s);17 }18