public static class YuiJavaScriptCompressor.DefaultErrorReporter extends Object implements org.mozilla.javascript.ErrorReporter
ErrorReporter
implementation that uses System.err
stream for error reporting.
Used by YUI Compressor to log errors during JavaScript compression.Constructor and Description |
---|
DefaultErrorReporter() |
Modifier and Type | Method and Description |
---|---|
void |
error(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
org.mozilla.javascript.EvaluatorException |
runtimeError(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
void |
warning(String message,
String sourceName,
int line,
String lineSource,
int lineOffset) |
public void warning(String message, String sourceName, int line, String lineSource, int lineOffset)
warning
in interface org.mozilla.javascript.ErrorReporter
public void error(String message, String sourceName, int line, String lineSource, int lineOffset)
error
in interface org.mozilla.javascript.ErrorReporter
Copyright © 2009–2020 Jeremy Landis. All rights reserved.