Return Type: void
The throw function activates an exception so it is processed by the
interpreter. Until an exception is thrown, it is only a variable. Once
it is thrown, the interpreter will process the exception according to
its state. Additionally, any thrown exceptions (except OK types) can
be caught and processed using try-catch statements.
for additional examples.
See Also: exception,