public class XPathError extends RuntimeException
XPath error as described in XQuery 1.0 and XPath 2.0 Error Codes .
A static error is an error that must be detected during the static analysis.
A dynamic error is an error that must be detected during the dynamic evaluation phase and may be detected during the static analysis phase.
A type error may be raised during the static analysis phase or the dynamic evaluation phase.
The errors are identified by QNames that have the form err:XPYYnnnn, where:
Modifier and Type | Class and Description |
---|---|
static class |
XPathError.ErrorType
Enumeration for all the XPath error types with their specified error
message.
|
Constructor and Description |
---|
XPathError(XPathError.ErrorType mErr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public XPathError(XPathError.ErrorType mErr)
mErr
- The specific error type of the error.public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
Copyright © 2013. All Rights Reserved.