Table 5-4 summarizes the methods available through the ParserException interface.
Table 5-4 Summary of ParserException Methods; Parser Package
| Function | Summary |
|---|---|
|
Get Oracle XML error code embedded in the exception. |
|
|
Get current language (encoding) of error messages. |
|
|
Get Oracle XML error message. |
|
|
Get parser exception code embedded in the exception. |
Virtual member function inherited from XmlException.
virtual unsigned getCode() const = 0;
(unsigned) numeric error code (0 on success)
Virtual member function inherited from XmlException.
virtual oratext* getMesLang() const = 0;
(oratext*) Current language (encoding) of error messages
Virtual member function inherited from XmlException.
virtual oratext* getMessage() const = 0;
(oratext *) Error message
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.
virtual ParserExceptionCode getParserCode() const = 0;
(ParserExceptionCode) exception code