| Modifier and Type | Field and Description |
|---|---|
| protected Exception | m_exception
A nested exception. |
| pack-priv Object | m_styleNode
The home of the expression that caused the error. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | XPathException(String
The error message. message, ExpressionNode ex)Create an XPathException object that holds an error message. |
| public | XPathException(String
The error message. message)Create an XPathException object that holds an error message. |
| public | XPathException(String
The error message. message, Object The stylesheet node that the error originated from. styleNode)Create an XPathException object that holds an error message and the stylesheet node that the error originated from. |
| public | XPathException(String
The error message. message, Node The stylesheet node that the error originated from. styleNode, Exception The exception that caused this 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. |
| public | XPathException(String
The error message. message, Exception The exception that caused this exception. e)Create an XPathException object that holds an error message, and another exception that caused this exception. |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: The embedded exception, or null if there is none.Overrides javax. Return the embedded exception, if any. |
| protected ExpressionNode | Returns: null or first ancestor that is not an Expression.Get the first non-Expression parent of this node. |
| public String | Returns: The error message of the originating exception.Overrides java. Find the most contained message. |
| public Object | Returns: The stylesheet node from where this error originated, or null.Get the stylesheet node from where this error originated. |
| public Node | Returns: The dereference to the ElemVariable, or null if not found.Get the XSLT ElemVariable that this sub-expression references. |
| public void | printStackTrace(PrintStream
The stream where the dump will be sent to. s)Overrides javax. Print the the trace of methods from where the error originated. |
| public void | printStackTrace(PrintWriter
The writer where the dump will be sent to. s)Overrides javax. Print the the trace of methods from where the error originated. |
| public void | setStylesheetNode(Object
The stylesheet node from where this error originated, or null. styleNode)Set the stylesheet node from where this error originated. |
| m_exception | back to summary |
|---|---|
| protected Exception m_exception A nested exception. | |
| m_styleNode | back to summary |
|---|---|
| pack-priv Object m_styleNode The home of the expression that caused the error.
| |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides javax. | |
| XPathException | back to summary |
|---|---|
| public XPathException(String message, ExpressionNode ex) Create an XPathException object that holds an error message.
| |
| XPathException | back to summary |
|---|---|
| public XPathException(String message) Create an XPathException object that holds an error message.
| |
| XPathException | back to summary |
|---|---|
| public XPathException(String message, Object styleNode) Create an XPathException object that holds an error message and the stylesheet node that the error originated from. | |
| XPathException | back to summary |
|---|---|
| public 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 | back to summary |
|---|---|
| public XPathException(String message, Exception e) Create an XPathException object that holds an error message, and another exception that caused this exception. | |
| getException | back to summary |
|---|---|
| public Throwable getException() Overrides javax. Return the embedded exception, if any. Overrides javax.xml.transform.TransformerException.getException().
| |
| getExpressionOwner | back to summary |
|---|---|
| protected ExpressionNode getExpressionOwner(ExpressionNode ex) Get the first non-Expression parent of this node.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Find the most contained message.
| |
| getStylesheetNode | back to summary |
|---|---|
| public Object getStylesheetNode() Get the stylesheet node from where this error originated.
| |
| getStylesheetNode | back to summary |
|---|---|
| public Node getStylesheetNode(ExpressionNode ex) Get the XSLT ElemVariable that this sub-expression references. In order for this to work, the SourceLocator must be the owning ElemTemplateElement.
| |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace(PrintStream s) Overrides javax. Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
| |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace(PrintWriter s) Overrides javax. Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
| |
| setStylesheetNode | back to summary |
|---|---|
| public void setStylesheetNode(Object styleNode) Set the stylesheet node from where this error originated.
| |