public interface ErrorReporter
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
String sourceName,
int line,
int lineOffset)
Report an error.
|
void |
warning(String message,
String sourceName,
int line,
int lineOffset)
Report a warning.
|
void warning(String message, String sourceName, int line, int lineOffset)
message - a String describing the warningsourceName - a String describing the JavaScript source
where the warning occurred; typically a filename or URLline - the line number associated with the warninglineOffset - the offset into lineSource where problem was detectedvoid error(String message, String sourceName, int line, int lineOffset)
message - a String describing the errorsourceName - a String describing the JavaScript source
where the error occurred; typically a filename or URLline - the line number associated with the errorlineOffset - the offset into lineSource where problem was detectedCopyright © 2009-2017 Google. All Rights Reserved.