Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)

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

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

ParserException Interface

Table 18-4 summarizes the methods of available through the ParserException interface.

Table 18-4 Summary of ParserException Methods; Parser 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.
getParserCode
Get parser 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


getParserCode

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


Syntax
virtual ParserExceptionCode getParserCode() const = 0;


Returns

(ParserExceptionCode) exception code