|
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.generator.RssGenerationException
Indicates an exception occurred during the generation of the RSS document. This may be a problem with writing to a file or stream, missing critical data or other issue, either the fault of the developer or user. If this exception is caused by another system exception (such as i/o), then the original exception will be encapsulated within this one. The RSS4j toolkit never hanldes this type of exception. Instead, it is used to abstract anything that goes wrong (including I/O or SAX) 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 | |
RssGenerationException(java.lang.Exception e)
Constructor |
|
RssGenerationException(java.lang.String s)
Constructor |
|
RssGenerationException(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 RssGenerationException(java.lang.String s)
s
- An description of the exceptionpublic RssGenerationException(java.lang.String s, java.lang.Exception e)
s
- A description of the exceptione
- The exception to nest inside this onepublic RssGenerationException(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 |