Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Cartridge Functions, 4 of 43
Raise an exception with a message.
size_t OCIExtProcRaiseExcpWithMsg ( OCIExtProcContext *with_context, int errnum, char *errmsg, size_t msglen );
The with_context pointer that is passed to the C External Procedure.
Oracle Error number to signal to PL/SQL. The value of errnum
must be a positive number and in the range 1 to 32767
The error message associated with the errnum
.
The length of the error message. Pass zero if errmsg
is a null-terminated string.
Raise an exception to PL/SQL. In addition, substitute the following error message string within the standard Oracle error message string.
See Also:
See the description of |
This function returns OCIEXTPROC_SUCCESS if the call was successful. It returns OCIEXTPROC_ERROR if the call has failed.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|