Table 20-6 summarizes the methods of available through the XPathException
interface.
Table 20-6 Summary of XPathException Methods; XPath Package
Function | Summary |
---|---|
getCode
|
Get Oracle XML error code embedded in the exception. |
getMesLang
|
Get current language (encoding) of error messages. |
getMessage
|
Get Oracle XML error message. |
getXPathCode
|
Get XPath exception code embedded in the exception. |
Virtual member function inherited from XmlException
.
virtual unsigned getCode() const = 0;
(unsigned)
numeric error code (0 on success)
Virtual member function inherited from XmlException
.
virtual oratext* getMesLang() const = 0;
(oratext*)
Current language (encoding) of error messages
Virtual member function inherited from XmlException
.
virtual oratext* getMessage() const = 0;
(oratext *)
Error message
This is a virtual member function that defines a prototype for implementation defined member functions returning XPath processor and compiler exception codes, defined in XPathExceptionCode, of the exceptional situations during execution.
virtual XPathExceptionCode getXPathCode() const = 0;
(XPathExceptionCode)
exception code