public class ElementDefinitionException extends ParseException
Constructor and Description |
---|
ElementDefinitionException(Exception e)
Creates a new ElementDefinitionException with an parent exception and with the parents
message as explaination.
|
ElementDefinitionException(Exception e,
Locator locator)
Creates a new ParseException with the given root exception
and the locator.
|
ElementDefinitionException(Exception e,
String message)
Creates a new ElementDefinitionException with an parent exception and with the given
message as explaination.
|
ElementDefinitionException(String message)
Creates a new ElementDefinitionException without an parent exception and with the given
message as explanation.
|
ElementDefinitionException(String s,
Exception e,
Locator locator)
Creates a new ParseException with the given message, root exception
and the locator.
|
ElementDefinitionException(String message,
Locator locator)
Creates a new ParseException with the given message and the locator.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getParentException()
Returns the parent exception.
|
void |
printStackTrace(PrintStream s)
Prints the stack trace.
|
void |
printStackTrace(PrintWriter s)
Prints the stack trace.
|
fillLocation, getColumn, getLine, getMessage, toString
getCause, getException
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
public ElementDefinitionException(String message)
message
- a detail message explaining the reasons for this exception.public ElementDefinitionException(Exception e)
e
- the parentException that caused this exceptionpublic ElementDefinitionException(Exception e, String message)
e
- the parentException that caused this exceptionmessage
- a detail message explaining the reasons for this exceptionpublic ElementDefinitionException(Exception e, Locator locator)
e
- the exceptionlocator
- the locator of the parserpublic ElementDefinitionException(String message, Locator locator)
message
- the messagelocator
- the locator of the parserpublic Exception getParentException()
public void printStackTrace(PrintStream s)
printStackTrace
in class ParseException
s
- the stream for writing to.public void printStackTrace(PrintWriter s)
printStackTrace
in class ParseException
s
- the stream for writing to.Copyright © 2001–2018 JFree.org. All rights reserved.