java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.syndication.io.FeedException
com.sun.syndication.io.ParsingFeedException
- All Implemented Interfaces:
- java.io.Serializable
- public class ParsingFeedException
- extends FeedException
Exception thrown by WireFeedInput instance if it can not parse a feed.
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
|
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 |
ParsingFeedException
public ParsingFeedException(java.lang.String msg)
- Creates a FeedException with a message.
ParsingFeedException
public ParsingFeedException(java.lang.String msg,
java.lang.Throwable rootCause)
- Creates a FeedException with a message and a root cause exception.
getLineNumber
public int getLineNumber()
- Returns the line number of the end of the text where the
parse error occurred.
The first line in the document is line 1.
getColumnNumber
public int getColumnNumber()
- Returns the column number of the end of the text where the
parse error occurred.
The first column in a line is position 1.