|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorReporter
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 occured; 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 occured; typically a filename or URLline
- the line number associated with the errorlineOffset
- the offset into lineSource where problem was detected
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |