Class NoOpErrorReporter
- java.lang.Object
-
- ca.cgjennings.apps.arkham.plugins.engine.NoOpErrorReporter
-
- All Implemented Interfaces:
org.mozilla.javascript.ErrorReporter
public final class NoOpErrorReporter extends java.lang.Object implements org.mozilla.javascript.ErrorReporter
An error reporter that does not generate any output. This is useful primarily when performing internal processing on scripts.- Author:
- Chris Jennings
-
-
Constructor Summary
Constructors Constructor Description NoOpErrorReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(java.lang.String message, java.lang.String sourceName, int line, java.lang.String lineSource, int lineOffset)
org.mozilla.javascript.EvaluatorException
runtimeError(java.lang.String message, java.lang.String sourceName, int line, java.lang.String lineSource, int lineOffset)
void
warning(java.lang.String message, java.lang.String sourceName, int line, java.lang.String lineSource, int lineOffset)
-
-
-
Method Detail
-
warning
public void warning(java.lang.String message, java.lang.String sourceName, int line, java.lang.String lineSource, int lineOffset)
- Specified by:
warning
in interfaceorg.mozilla.javascript.ErrorReporter
-
error
public void error(java.lang.String message, java.lang.String sourceName, int line, java.lang.String lineSource, int lineOffset)
- Specified by:
error
in interfaceorg.mozilla.javascript.ErrorReporter
-
runtimeError
public org.mozilla.javascript.EvaluatorException runtimeError(java.lang.String message, java.lang.String sourceName, int line, java.lang.String lineSource, int lineOffset)
- Specified by:
runtimeError
in interfaceorg.mozilla.javascript.ErrorReporter
-
-