Action:
|
Check an outcome from an API and signal an exception if it is not OK.
|
|
Prototype:
|
void check_outcome (
|
|
|
const outcome& result
|
// the outcome to check
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/geomhusk/ckoutcom.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
Description:
|
Checks the outcome and calls
sys_error if it is not OK. This routine should be called after all routines that return an outcome and after each
API_END. If the outcome is not checked, exception conditions will not propagate up the stack and get reported to the user.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/geomhusk/ckoutcom.hxx
|
|
Effect:
|
System routine
|