This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
OCIOnErrCall
|
OCIOnErrCall ( methodName ; $1 ; $2 ) | ||||||||
Parameter | Type | Description | ||||||
methodName | String |
![]() |
Name of error-handling method | |||||
$1 | Longint |
![]() |
First argument to pass to method | |||||
$2 | Longint |
![]() |
Second argument to pass to method | |||||
The OCIOnErrCall command installs an error-handling method that will be executed every time an error occurs. This allows you to manage possible execution errors and override default error handling.
methodName is the name of the method to install. To return to default behavior, pass an empty string such as OCIOnErrCall("").
4D for OCI passes two arguments, $1 and $2, to your method. If you want to compile your database, you must declare the $1 and $2 variables using the C_LONGINT commands.
Product: 4D
Theme: Extras
Number:
705127
4D for OCI ( 4D v19)