public class XPathException extends TransformerException
| Constructor and Description |
|---|
XPathException(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.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException() |
String |
getMessage() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
getCause, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, setLocatoraddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, setStackTrace, toStringpublic XPathException(String message, SourceLocator ex)
message - The error message.public XPathException(String message)
message - The error message.public void printStackTrace(PrintStream s)
printStackTrace in class TransformerExceptionpublic String getMessage()
getMessage in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class TransformerExceptionpublic Throwable getException()
getException in class TransformerExceptionCopyright © 2022. All rights reserved.