Class TeaVMErrorReporter

java.lang.Object
org.teavm.jso.impl.TeaVMErrorReporter
All Implemented Interfaces:
org.mozilla.javascript.ErrorReporter

public class TeaVMErrorReporter extends Object implements org.mozilla.javascript.ErrorReporter
  • Constructor Details

  • Method Details

    • hasErrors

      public boolean hasErrors()
    • warning

      public void warning(String message, String sourceName, int line, String lineSource, int lineOffset)
      Specified by:
      warning in interface org.mozilla.javascript.ErrorReporter
    • error

      public void error(String message, String sourceName, int line, String lineSource, int lineOffset)
      Specified by:
      error in interface org.mozilla.javascript.ErrorReporter
    • runtimeError

      public org.mozilla.javascript.EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset)
      Specified by:
      runtimeError in interface org.mozilla.javascript.ErrorReporter