public void yyerror(String message, Object syntaxErrorState) {
public void yyerror(String message, String[] expected, String found) {
            public void yyerror(String message, Object syntaxErrorState) {                try {                    super.yyerror(message, syntaxErrorState);                } catch (SyntaxException e) {                    String errorMessage = formatErrorMessage(message, syntaxErrorState);                    throw new SyntaxException(e.getPosition(), errorMessage);                }            }