XMLException is the root interface for all XML exceptions. Table 17-1 summarizes the methods of available through the OracleXml Package.
Table 17-1 Summary of OracleXml Package Interfaces
| 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. |
This is a virtual member function that defines a prototype for implementation defined functions returning Oracle XML error codes (like error codes defined in xml.h) of the exceptional situations during execution
virtual unsigned getCode() const = 0;
(unsigned) numeric error code (0 on success)
This is a virtual member function that defines a prototype for user defined functions returning current language (encoding) of error messages for the exceptional situations during execution
virtual oratext* getMesLang() const = 0;
(oratext *) Current language (encoding) of error messages
This is a virtual member function that defines a prototype for implementation defined functions returning Oracle XML error messages of the exceptional situations during execution.
virtual oratext* getMessage() const = 0;
(oratext *) Error message