public class ParseErrorLogger extends Object implements ParseErrorListener
Constructor and Description |
---|
ParseErrorLogger() |
Modifier and Type | Method and Description |
---|---|
void |
error(String msg,
long lineNo,
long colNo)
Reports an error from the parser.
|
void |
fatalError(String msg,
long lineNo,
long colNo)
Reports a fatal error from the parser.
|
void |
warning(String msg,
long lineNo,
long colNo)
Reports a warning from the parser.
|
public void warning(String msg, long lineNo, long colNo)
ParseErrorListener
warning
in interface ParseErrorListener
msg
- A warning message.lineNo
- A line number related to the warning, or -1 if not available or applicable.colNo
- A column number related to the warning, or -1 if not available or applicable.public void error(String msg, long lineNo, long colNo)
ParseErrorListener
error
in interface ParseErrorListener
msg
- A error message.lineNo
- A line number related to the error, or -1 if not available or applicable.colNo
- A column number related to the error, or -1 if not available or applicable.RDFParser.setStopAtFirstError(boolean)
public void fatalError(String msg, long lineNo, long colNo)
ParseErrorListener
fatalError
in interface ParseErrorListener
msg
- A error message.lineNo
- A line number related to the error, or -1 if not available or applicable.colNo
- A column number related to the error, or -1 if not available or applicable.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.