Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## XSLException Interface

Table 22-5 summarizes the methods of available through the `XSLException` interface.

Table 22-5 Summary of XSLException Methods; Xsl 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.
getXslCode | Defines a prototype for implementation.

### getCode

Gets Oracle XML error code embedded in the exception. 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

### getXslCode

This is a virtual member function that defines a prototype for implementation defined member functions returning XSL transformer and compiler exception codes, defined in`XslExceptionCode`, of the exceptional situations during execution.

Syntax

    virtual XslExceptionCode getXslCode() const = 0;

Returns

`(XslExceptionCode)` exception code