Skip Headers
Oracle® Database XML C++ API Reference
11g Release 1 (11.1)

Part Number B28389-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

RangeException Interface

Table 2-25 summarizes the methods available through RangeException interface.

Table 2-25 Summary of RangeException Methods; Dom 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.

getRangeCode()


Get Range exception code embedded in the exception.



getCode()

Gets Oracle XML error code embedded in the exception. Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

Gets the current language encoding of error messages. Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

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


getMessage()

Get XML error message. Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getRangeCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning Range exception codes, defined in RangeExceptionCode, of the exceptional situations during execution.

Syntax

virtual RangeExceptionCode getRangeCode() const = 0;

Returns

(RangeExceptionCode) exception code