Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Table Of Contents
Contents

Previous Next  

XPathException Interface

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.


getCode

Virtual member function inherited from XmlException.


Syntax
virtual unsigned getCode() const = 0;


Returns

(unsigned) numeric error code (0 on success)


getMesLang

Virtual member function inherited from XmlException.


Syntax
virtual oratext* getMesLang() const = 0;


Returns

(oratext*) Current language (encoding) of error messages


getMessage

Virtual member function inherited from XmlException.


Syntax
virtual oratext* getMessage() const = 0;


Returns

(oratext *) Error message


getXPathCode

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.


Syntax
virtual XPathExceptionCode getXPathCode() const = 0;


Returns

(XPathExceptionCode) exception code