Keyword Throw

The Throw keyword is part of the Try/Catch exception-handling construct. See Try for more details on exception handling.


Throw exception


Throw is used when an exception needs to be thrown in order to handle undesirable situations. See Try for example usage.

See also

Try | Catch | Throwable | End
Language reference