Table 19-3 summarizes the methods of available through the FactoryException interface.
Table 19-3 Summary of FactoryException Methods; Tools Package
| Function | Summary |
|---|---|
| getCode
|
Get Oracle XML error code embedded in the exception. |
| getFactoryCode
|
Get FactoryException code embedded in the exception. |
| getMesLang
|
Get current language (encoding) of error messages. |
| getMessage
|
Get Oracle XML error message. |
Gets Oracle XML error code embedded in the exception. Virtual member function inherited from XmlException.
virtual unsigned getCode() const = 0;
(unsigned) numeric error code (0 on success)
This is a virtual member function that defines a prototype for implementation defined member functions returning exception codes specific to the Tools namespace, defined in FactoryExceptionCode, of the exceptional situations during execution
virtual FactoryExceptionCode getFactoryCode() const = 0;
(FactoryExceptionCode) exception code
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