Class NullErrorReporter


  • public abstract class NullErrorReporter
    extends java.lang.Object
    An error reporter which consumes all calls and performs no actions.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(java.lang.String message, java.lang.String sourceName, int line, int lineOffset)  
      static com.google.javascript.rhino.head.ErrorReporter forNewRhino()  
      static ErrorReporter forOldRhino()  
      void warning​(java.lang.String message, java.lang.String sourceName, int line, int lineOffset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • error

        public void error​(java.lang.String message,
                          java.lang.String sourceName,
                          int line,
                          int lineOffset)
      • warning

        public void warning​(java.lang.String message,
                            java.lang.String sourceName,
                            int line,
                            int lineOffset)
      • forNewRhino

        public static com.google.javascript.rhino.head.ErrorReporter forNewRhino()