xHarbour Reference Documentation > Function Reference |
Throws an exception.
Throw( <oError> ) --> NIL
The return value is NIL.
Function Throw() is part of xHarbour's error handling system and is used in conjunction with a TRY...CATCH statement. The error object passed to Throw() is forwarded to the CATCH option, if present. There, the information stored in the error object can be evaluated for error handling.
See also: | BEGIN SEQUENCE, Error(), ErrorBlock(), ErrorNew(), TRY...CATCH |
Category: | Error functions , Debug functions , xHarbour extensions |
Source: | vm\throw.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com