docs: public static void reportError(String message, String sourceName,
                                     int lineno, String lineSource,
                                     int lineOffset)
      {
          Context cx = getCurrentContext();
          if (cx != null) {
              cx.getErrorReporter().error(message, sourceName, lineno,
                                          lineSource, lineOffset);
          } else {
              throw new EvaluatorException(message, sourceName, lineno,
                                           lineSource, lineOffset);
          }
      }