Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## DOMException Interface

Table 14-3 summarizes the methods of available through the `DOMException` interface.

Table 15-6 Summary of DOMException Methods; Dom Package

Function | Summary
--- | ---
getDOMCode | Get DOM exception code embedded in the exception.
getMesLang | Get current language encoding of error messages.
getMessage | Get Oracle XML error message.

### getDOMCode

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

Syntax

    virtual DOMExceptionCode getDOMCode() const = 0;

Returns

`(DOMExceptionCode)` exception code

### 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