public interface ErrorReporter
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-2014 Google. All Rights Reserved.