|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.syndication.io.FeedException
com.sun.syndication.io.ParsingFeedException
public class ParsingFeedException
Exception thrown by WireFeedInput instance if it can not parse a feed.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParsingFeedException(String msg)
msg
- exception message.public ParsingFeedException(String msg, Throwable rootCause)
msg
- exception message.rootCause
- root cause exception.Method Detail |
---|
public int getLineNumber()
The first line in the document is line 1.
public int getColumnNumber()
The first column in a line is position 1.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |