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 ErrorReporter
public void reportError(String message)
reportError
in interface ErrorReporter
public int getErrorCount()
getErrorCount
in interface ParseErrorHandler
public void reportWarning(String message)
reportWarning
in interface ErrorReporter
public void throwQueryException() throws QueryException
throwQueryException
in interface ParseErrorHandler
QueryException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.