public class ErrorCounter extends Object implements ParseErrorHandler
| Constructor and Description |
|---|
ErrorCounter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCount() |
void |
reportError(antlr.RecognitionException e) |
void |
reportError(String message) |
void |
reportWarning(String message) |
void |
throwQueryException() |
public void reportError(antlr.RecognitionException e)
reportError in interface ErrorReporterpublic void reportError(String message)
reportError in interface ErrorReporterpublic int getErrorCount()
getErrorCount in interface ParseErrorHandlerpublic void reportWarning(String message)
reportWarning in interface ErrorReporterpublic void throwQueryException()
throws QueryException
throwQueryException in interface ParseErrorHandlerQueryExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.