|
Copyright (c) 2000-2002 ChurchillObjects.com | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--churchillobjects.rss4j.parser.RssParseException
Indicates an exception occurred during parsing of the RSS document. Most problems will have to do with the document not adhering to the standard that it claims to support. These do not include warnings, which are recovered from and added to the document object. The RSS4j toolkit never hanldes this type of exception. Instead, it is used to abstract anything that goes wrong (including I/O or DOM) and throw it up the stack to the client code.
Field Summary | |
private java.lang.Exception |
exception
The nested exception for this one to contain |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
RssParseException(java.lang.Exception e)
Constructor |
|
RssParseException(java.lang.String s)
Constructor |
|
RssParseException(java.lang.String s,
java.lang.Exception e)
Constructor |
Method Summary | |
java.lang.Exception |
getException()
Returns the nested exception. |
java.lang.String |
getMessage()
Returns the description of this exception, or the description of the nested exception if this one has not been set. |
java.lang.String |
toString()
Returns a canonical representation of this exception, or the nested exception if there is one. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.Exception exception
Constructor Detail |
public RssParseException(java.lang.String s)
s
- An description of the exceptionpublic RssParseException(java.lang.String s, java.lang.Exception e)
s
- A description of the exceptione
- The exception to nest inside this onepublic RssParseException(java.lang.Exception e)
e
- The exception to nest inside this oneMethod Detail |
public java.lang.Exception getException()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
|
Copyright (c) 2000-2002 ChurchillObjects.com | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |