public static interface Parser.ErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
error(int line,
String lineContent,
String fileName,
String errorMessage)
Report an error to the ErrorHandler.
|
void error(int line, String lineContent, String fileName, String errorMessage)
line
- number of the line where error occurred. The value of -1 represents line number
unknownlineContent
- text of the line with errorfileName
- name of the file in which the error occurrederrorMessage
- description of an errorCopyright © 2010–2017 Google. All rights reserved.