I want to catch the ANTLR errors in some way and suppress them showing up in my java logs.
I am beginner in ANTLR and using ANTLR3.4
I went through this and I could not find any methods like these.
lexer.removeErrorListeners();
lexer.addErrorListener(someListener());
parser.removeErrorListeners();
parser.addErrorListener(someListener());
Is there a way that I could to suppress ANTLR console error?