Skip Headers
Oracle® Database XML C++ API Reference
11g Release 2 (11.2)

Part Number E10771-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
PDF · Mobi · ePub
CPXML01500

4 Package OracleXml APIs for C++

OracleXml is the namespace for all XML C++ interaces. It includes class XmlException, the root for all exceptions in XML, and these namespaces:

This chapter contains this section:

See Also:

CPXML01510

XmlException Interface

XMLException is the root interface for all XML exceptions. Table 4-1 summarizes the methods available through the OracleXml Package.

CPXML2731Table 4-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.


CPXML2732

getCode()

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

CPXML2733Syntax

virtual unsigned getCode() const = 0;

CPXML2734Returns

(unsigned) numeric error code (0 on success)

CPXML2735

getMesLang()

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

CPXML2736Syntax

virtual oratext* getMesLang() const = 0;

CPXML2737Returns

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

CPXML2738

getMessage()

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.

CPXML2739Syntax

virtual oratext* getMessage() const = 0;

CPXML2740Returns

(oratext *) Error message

Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Page

  • XmlException Interface
    • getCode()
    • getMesLang()
    • getMessage()

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF