@@ -0,0 +1,799 @@
+public class MyErrorReporter implements org.mozilla.javascript.ErrorReporter %7B%0A    public void warning(String message, String sourceName, int line, String lineSource, int lineOffset) %7B%0A        ProductionJS.logger.warn(%22WARNING line: %22+line+%22 offset: %22+lineOffset+%22 message: %22+ message);%0A    %7D%0A%0A    public void error(String message, String sourceName, int line, String lineSource, int lineOffset) %7B%0A        ProductionJS.logger.error(%22ERROR line: %22+line+%22 offset: %22+lineOffset+%22 message: %22+ message);%0A    %7D%0A%0A    public org.mozilla.javascript.EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset) %7B%0A        error(message, sourceName, line, lineSource, lineOffset);%0A        return new org.mozilla.javascript.EvaluatorException(message);%0A    %7D%0A%7D%0A

Create MyErrorReporter.java