//This Method stores all the error messages at the error-List
//At the Method evaluate, there will be decided if a nestedParserAutoRecoveryException should be thrown
String hdr = ErrorMessageProcessing.getErrorHeader(e);
String msg = ErrorMessageProcessing.getErrorMessage(e, tokenNames, this);
String shortMessage = hdr + " " + msg;
ErrorList.getInstance().addException(new AntlrException(e,shortMessage, tokenNames));
}