|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.jfree.xml.ParseException
org.jfree.xml.ElementDefinitionException
public class 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,
org.xml.sax.Locator locator)
Creates a new ParseException with the given root exception and the locator. |
|
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. |
|
ElementDefinitionException(java.lang.String s,
java.lang.Exception e,
org.xml.sax.Locator locator)
Creates a new ParseException with the given message, root exception and the locator. |
|
ElementDefinitionException(java.lang.String message,
org.xml.sax.Locator locator)
Creates a new ParseException with the given message and the locator. |
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.jfree.xml.ParseException |
---|
fillLocation, getColumn, getLine, getMessage, toString |
Methods inherited from class org.xml.sax.SAXException |
---|
getCause, getException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 exceptionpublic ElementDefinitionException(java.lang.Exception e, org.xml.sax.Locator locator)
e
- the exceptionlocator
- the locator of the parserpublic ElementDefinitionException(java.lang.String message, org.xml.sax.Locator locator)
message
- the messagelocator
- the locator of the parserpublic ElementDefinitionException(java.lang.String s, java.lang.Exception e, org.xml.sax.Locator locator)
s
- the messagee
- the exceptionlocator
- the locator of the parserMethod Detail |
---|
public java.lang.Exception getParentException()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class ParseException
s
- the stream for writing to.public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class ParseException
s
- the stream for writing to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |