Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_XMLQUERY, 25 of 29


getExceptionContent Procedure

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.

Syntax

DBMS_XMLQUERY.getExceptionContent (

ctxHdl  IN ctxType, 
errNo  OUT NUMBER, 
errMsg  OUT VARCHAR2);

Parameters

Table 72-25 shows the parameters of the getExceptionContent procedure.

Table 72-25 getExceptionContent Procedure Parameters
Parameter  Description 

ctxHdl (IN) 

The context handle. 

errNo (OUT) 

The error number. 

errMsg (OUT) 

The error message. 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback