Raise Statements

Raise or re-raisean exception object. This can be used to cause an exception to be passed to the nearest exception handler. Throw without a value rethrows the current exception when inside an except block.

  raise new ArgumentException('Invalid parameter!');

See Also