throw()
Signals an erroneous condition by using an error class variable.
Synopsis
int throw(errClass|dyn_errClass exception);
Parameters
Parameter | Description |
---|---|
exception | The error that is shown. The error is of the type errClass. |
Return value
If the function was successfully executed, it returns 0 and if case of errors -1.
Description
The throw() function signals an erroneous condition by using an error class variable.
Example
-
throw(makeError("", PRIO_SEVERE, ERR_IMPL, 1, "row array corruption"));
Assignment
Errors
Availability
CTRL