MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
QueuingErrorListener (RecognizerErrorDelegate recognizerErrorDelegate) | |
void | displayRecognitionError (String[] tokenNames, RecognitionException e) |
void | emitErrorMessage (String msg) |
boolean | hasErrors () |
String | toString () |
List< RecognitionException > | getErrors () |
Public Member Functions inherited from com.mysql.clusterj.jdbc.antlr.BaseErrorListener | |
BaseErrorListener (final RecognizerErrorDelegate recognizerErrorDelegate) | |
void | displayRecognitionError (final String[] tokenNames, final RecognitionException e) |
void | reportError (final RecognitionException e) |
String | getErrorHeader (final RecognitionException e) |
String | getErrorMessage (final RecognitionException e, final String[] tokenNames) |
void | emitErrorMessage (final String msg) |
Public Member Functions inherited from com.mysql.clusterj.jdbc.antlr.ErrorListener | |
void | reportError (RecognitionException e) |
String | getErrorHeader (RecognitionException e) |
String | getErrorMessage (RecognitionException e, String[] tokenNames) |
Additional Inherited Members | |
Protected Attributes inherited from com.mysql.clusterj.jdbc.antlr.BaseErrorListener | |
final RecognizerErrorDelegate | recognizerErrorDelegate |
boolean | seenErrors = false |
Author: kroepke
Definition at line 29 of file QueuingErrorListener.java.
|
inline |
Do not display any errors, but queue them up to inspect at a later stage. Useful for writing tests that look for RecognitionExceptions.
tokenNames | |
e |
Implements com.mysql.clusterj.jdbc.antlr.ErrorListener.
Definition at line 48 of file QueuingErrorListener.java.
|
inline |
Redirects an error message to the appropriate place, relying on the other methods to actually produce a message
msg | Preformatted error message |
Implements com.mysql.clusterj.jdbc.antlr.ErrorListener.
Definition at line 55 of file QueuingErrorListener.java.
|
inline |
Retrieve the list of errors occurred.
Reimplemented from com.mysql.clusterj.jdbc.antlr.BaseErrorListener.
Definition at line 77 of file QueuingErrorListener.java.
|
inline |
Check whether errors have occurred during recognition.
Reimplemented from com.mysql.clusterj.jdbc.antlr.BaseErrorListener.
Definition at line 61 of file QueuingErrorListener.java.