Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_XMLQUERY, 25 of 29
This procedure, via its arguments, returns the error code of the thrown exception and the error message (that is, the SQL error code). This is to get around the fact that the jvm throws an exception on top of whatever exception was raised, thus rendering PL/SQL unable to access the original exception.
DBMS_XMLQUERY.getExceptionContent (ctxHdl IN ctxType, errNo OUT NUMBER, errMsg OUT VARCHAR2);
Table 72-25 shows the parameters of the getExceptionContent
procedure.
Parameter | Description |
---|---|
|
The context handle. |
|
The error number. |
|
The error message. |
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|