org.apache.xpath
public class XPathException extends TransformerException
UNKNOWN: general
| Constructor Summary | |
|---|---|
| XPathException(String message, ExpressionNode ex)
Create an XPathException object that holds
an error message. | |
| XPathException(String message)
Create an XPathException object that holds
an error message. | |
| XPathException(String message, Object styleNode)
Create an XPathException object that holds
an error message and the stylesheet node that
the error originated from. | |
| XPathException(String message, Node styleNode, Exception e)
Create an XPathException object that holds
an error message, the stylesheet node that
the error originated from, and another exception
that caused this exception. | |
| XPathException(String message, Exception e)
Create an XPathException object that holds
an error message, and another exception
that caused this exception. | |
| Method Summary | |
|---|---|
| Throwable | getException()
Return the embedded exception, if any.
|
| String | getMessage()
Find the most contained message.
|
| Object | getStylesheetNode()
Get the stylesheet node from where this error originated. |
| Node | getStylesheetNode(ExpressionNode ex)
Get the XSLT ElemVariable that this sub-expression references. |
| void | printStackTrace(PrintStream s)
Print the the trace of methods from where the error
originated. |
| void | printStackTrace(PrintWriter s)
Print the the trace of methods from where the error
originated. |
| void | setStylesheetNode(Object styleNode)
Set the stylesheet node from where this error originated. |
Parameters: message The error message.
Parameters: message The error message.
Parameters: message The error message. styleNode The stylesheet node that the error originated from.
Parameters: message The error message. styleNode The stylesheet node that the error originated from. e The exception that caused this exception.
Parameters: message The error message. e The exception that caused this exception.
Returns: The embedded exception, or null if there is none.
Returns: The error message of the originating exception.
Returns: The stylesheet node from where this error originated, or null.
Returns: The dereference to the ElemVariable, or null if not found.
Parameters: s The stream where the dump will be sent to.
Parameters: s The writer where the dump will be sent to.
Parameters: styleNode The stylesheet node from where this error originated, or null.