1 17 package com.sun.syndication.io; 18 19 import org.jdom.input.JDOMParseException; 20 21 27 public class ParsingFeedException extends FeedException { 28 29 35 public ParsingFeedException(String msg) { 36 super(msg); 37 } 38 39 46 public ParsingFeedException(String msg, Throwable rootCause) { 47 super(msg, rootCause); 48 } 49 50 59 public int getLineNumber() { 60 return (getCause() instanceof JDOMParseException)? 61 ((JDOMParseException)getCause()).getLineNumber(): -1; 62 } 63 64 73 public int getColumnNumber() { 74 return (getCause() instanceof JDOMParseException)? 75 ((JDOMParseException)getCause()).getColumnNumber(): -1; 76 } 77 78 } 79 | Popular Tags |