Class YuiJavaScriptCompressor.DefaultErrorReporter
java.lang.Object
com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor.DefaultErrorReporter
- All Implemented Interfaces:
org.mozilla.javascript.ErrorReporter
- Enclosing class:
- YuiJavaScriptCompressor
public static class YuiJavaScriptCompressor.DefaultErrorReporter
extends Object
implements org.mozilla.javascript.ErrorReporter
Default
ErrorReporter
implementation that uses System.err
stream for error reporting.
Used by YUI Compressor to log errors during JavaScript compression.- Author:
- Sergiy Kovalchuk
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.mozilla.javascript.EvaluatorException
runtimeError
(String message, String sourceName, int line, String lineSource, int lineOffset) void
-
Constructor Details
-
DefaultErrorReporter
public DefaultErrorReporter()
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceorg.mozilla.javascript.ErrorReporter
-
error
- Specified by:
error
in interfaceorg.mozilla.javascript.ErrorReporter
-
runtimeError
public org.mozilla.javascript.EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset) - Specified by:
runtimeError
in interfaceorg.mozilla.javascript.ErrorReporter
-