Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.io
Class ParsingFeedException  view ParsingFeedException download ParsingFeedException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.syndication.io.FeedException
              extended bycom.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 Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ParsingFeedException(java.lang.String msg)
          Creates a FeedException with a message.
ParsingFeedException(java.lang.String msg, java.lang.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

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.

Method Detail

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.