com.sun.syndication.io
クラス ParsingFeedException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 com.sun.syndication.io.FeedException
              上位を拡張 com.sun.syndication.io.ParsingFeedException
すべての実装されたインタフェース:
java.io.Serializable

public class ParsingFeedException
extends FeedException

Exception thrown by WireFeedInput instance if it can not parse a feed.

関連項目:
直列化された形式

コンストラクタの概要
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.
 
メソッドの概要
 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.
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ParsingFeedException

public ParsingFeedException(java.lang.String msg)
Creates a FeedException with a message.

パラメータ:
msg - exception message.

ParsingFeedException

public ParsingFeedException(java.lang.String msg,
                            java.lang.Throwable rootCause)
Creates a FeedException with a message and a root cause exception.

パラメータ:
msg - exception message.
rootCause - 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.

戻り値:
an integer representing the line number, or -1 if the information is not available.

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.

戻り値:
an integer representing the column number, or -1 if the information is not available.