How to raise exceptions in Delphi uses SysUtils; procedure RaiseMyException; begin raise Exception.Create('Hallo World!'); end;