Reset OSI exception
Keywords: exception
The function will reset an exception fired in the OSI environment. Since exception handling is done always in the ON_ERROR block, the function should be called in the ON_ERROR block, always. The function will reset the last exception raised.
You may use the RESUME function to continue processing after the statement that raised the exception.
{
...
while ( Next() )
printf("The name of person %s is: %s\n", (string)pid, name);
...
on_error
if ( ExceptionClass() )
ResetException();
}