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
DefaultErrorReporterimplementation that usesSystem.errstream for error reporting. Used by YUI Compressor to log errors during JavaScript compression.- Author:
- Sergiy Kovalchuk
- See Also:
- Yahoo YUI Compressor, ErrorReporter Interface
-
-
Constructor Summary
Constructors Constructor Description DefaultErrorReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(String message, String sourceName, int line, String lineSource, int lineOffset)org.mozilla.javascript.EvaluatorExceptionruntimeError(String message, String sourceName, int line, String lineSource, int lineOffset)voidwarning(String message, String sourceName, int line, String lineSource, int lineOffset)
-
-
-
Method Detail
-
warning
public void warning(String message, String sourceName, int line, String lineSource, int lineOffset)
- Specified by:
warningin interfaceorg.mozilla.javascript.ErrorReporter
-
error
public void error(String message, String sourceName, int line, String lineSource, int lineOffset)
- Specified by:
errorin interfaceorg.mozilla.javascript.ErrorReporter
-
-