public class ParsingFeedException extends FeedException
Constructor and Description |
---|
ParsingFeedException(String msg)
Creates a FeedException with a message.
|
ParsingFeedException(String msg,
Throwable rootCause)
Creates a FeedException with a message and a root cause exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the column number of the end of the text where the parse error occurred.
|
int |
getLineNumber()
Returns the line number of the end of the text where the parse error occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParsingFeedException(String msg)
msg
- exception message.public int getLineNumber()
The first line in the document is line 1.
public int getColumnNumber()
The first column in a line is position 1.
Copyright © 2022. All rights reserved.