net.sf.saxon.trans
public abstract class XPathException extends TransformerException
| Nested Class Summary | |
|---|---|
| static class | XPathException.Circularity
Subclass used to report circularities |
| Field Summary | |
|---|---|
| String | errorCode |
| String | errorCodeNamespace |
| Value | errorObject |
| Constructor Summary | |
|---|---|
| XPathException(String message) | |
| XPathException(Throwable err) | |
| XPathException(String message, Throwable err) | |
| XPathException(String message, SourceLocator loc) | |
| XPathException(String message, SourceLocator loc, Throwable err) | |
| Method Summary | |
|---|---|
| String | getErrorCodeLocalPart()
Get the local part of the name of the error code |
| String | getErrorCodeNamespace()
Get the namespace URI part of the name of the error code |
| Value | getErrorObject() |
| boolean | hasBeenReported() |
| boolean | isTypeError() |
| StaticError | makeStatic()
Force an exception to a static error |
| void | setErrorCode(String code)
Set the error code. |
| void | setErrorCode(String namespace, String code)
Set the error code. |
| void | setErrorObject(Value value) |
| void | setHasBeenReported() |
| void | setIsTypeError(boolean is) |
Returns: the local part of the name of the error code
Returns: the namespace URI part of the name of the error code
Parameters: code The local part of the name of the error code
Parameters: namespace The namespace URI part of the name of the error code code The local part of the name of the error code