def emitErrorMessage(self, msg):
        sys.stderr.write(msg + '\n')
Override this method to change where error messages go
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/antlr3/antlr3/recognizers.py/BaseRecognizer.emitErrorMessage