Package org.loboevolution.apache.xpath
Class XPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.transform.TransformerException
org.loboevolution.apache.xpath.XPathException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XPathProcessorException
This class implements an exception object that all XPath classes will throw in case of an error.
This class extends TransformerException, and may hold other exceptions. In the case of nested
exceptions, printStackTrace will dump all the traces of the nested exceptions, not just the trace
of this object.
- See Also:
-
Constructor Summary
ConstructorDescriptionXPathException
(String message) Create an XPathException object that holds an error message.XPathException
(String message, SourceLocator ex) Create an XPathException object that holds an error message. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Methods inherited from class javax.xml.transform.TransformerException
getCause, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, setLocator
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Constructor Details
-
XPathException
Create an XPathException object that holds an error message.- Parameters:
message
- The error message.
-
XPathException
Create an XPathException object that holds an error message.- Parameters:
message
- The error message.
-
-
Method Details
-
printStackTrace
- Overrides:
printStackTrace
in classTransformerException
-
getMessage
- Overrides:
getMessage
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classTransformerException
-
getException
- Overrides:
getException
in classTransformerException
-