nca_set_exception

Example: nca_set_exceptionSession Functions

Specifies exception handling.

void nca_set_exception( LPCSTR title, long function, [void *this_context] );
title The title of the exception.
function The function to invoke when the exception occurs.
this_context The context of the exception (added automatically by VuGen—do not edit or add manually).

The nca_set_exception function specifies what actions to perform when an exception occurs. You specify a function to invoke that handles the exception window.

Note that a third parameter is created by VuGen during script generation. To use this function, you need to specify only the two parameters title and function described above. Do not enter this_context and do not edit the context recorded by VuGen.

Return Values

Oracle NCA Error Codes

Parameterization

All arguments of this function may be parameterized using standard parameterization.