public class ElementDefinitionException extends ParseException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
fillLocation, getColumn, getLine, getMessage, toString
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 parserpublic 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.