|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.hql.ast.ErrorCounter
public class ErrorCounter
An error handler that counts parsing errors and warnings.
| Constructor Summary | |
|---|---|
ErrorCounter()
|
|
| Method Summary | |
|---|---|
int |
getErrorCount()
|
void |
reportError(antlr.RecognitionException e)
|
void |
reportError(java.lang.String message)
|
void |
reportWarning(java.lang.String message)
|
void |
throwQueryException()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorCounter()
| Method Detail |
|---|
public void reportError(antlr.RecognitionException e)
reportError in interface ErrorReporterpublic void reportError(java.lang.String message)
reportError in interface ErrorReporterpublic int getErrorCount()
getErrorCount in interface ParseErrorHandlerpublic void reportWarning(java.lang.String message)
reportWarning in interface ErrorReporter
public void throwQueryException()
throws QueryException
throwQueryException in interface ParseErrorHandlerQueryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||