procedure RaiseLastException;
Reraises the current exception from an except section. Does nothing if there is no current exception.
begin try RaiseException('Your message goes here'); except Log('An exception occurred: ' + GetExceptionMessage); RaiseLastException; end; // The following line will not be executed because of the exception being reraised MsgBox('You will not see this.', mbInformation, MB_OK); end;