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)
ParseErrorListenerwarning in interface ParseErrorListenermsg - 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)
ParseErrorListenererror in interface ParseErrorListenermsg - 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)
ParseErrorListenerfatalError in interface ParseErrorListenermsg - 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-2020 Eclipse Foundation. All Rights Reserved.