|
|||||||||||
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 | +--org.xml.sax.SAXException | +--org.jfree.xml.ElementDefinitionException
A reportdefinition exception is thrown when the parsing of the report definition failed because invalid or missing attributes are encountered.
Constructor Summary | |
---|---|
ElementDefinitionException(java.lang.Exception e)
Creates a new ElementDefinitionException with an parent exception and with the parents message as explaination. |
|
ElementDefinitionException(java.lang.Exception e,
java.lang.String message)
Creates a new ElementDefinitionException with an parent exception and with the given message as explaination. |
|
ElementDefinitionException(java.lang.String message)
Creates a new ElementDefinitionException without an parent exception and with the given message as explanation. |
Method Summary | |
---|---|
java.lang.Exception |
getParentException()
Returns the parent exception. |
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace. |
Methods inherited from class org.xml.sax.SAXException |
---|
getException, getMessage, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ElementDefinitionException(java.lang.String message)
message
- a detail message explaining the reasons for this exception.public ElementDefinitionException(java.lang.Exception e)
e
- the parentException that caused this exceptionpublic ElementDefinitionException(java.lang.Exception e, java.lang.String message)
e
- the parentException that caused this exceptionmessage
- a detail message explaining the reasons for this exceptionMethod Detail |
public java.lang.Exception getParentException()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- the stream for writing to.public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- the stream for writing to.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |