Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Exception-Text übernehmen??? (https://www.delphipraxis.net/137575-exception-text-uebernehmen.html)

romber 23. Jul 2009 17:46


Exception-Text übernehmen???
 
Wie kann ich den Text der Fehlermeldung, die ich mit try...except abfange, in einen String übernehmen?

himitsu 23. Jul 2009 17:48

Re: Exception-Text übernehmen???
 
Delphi-Quellcode:
Try

Except
  On E: Exception do
    S := E.Message;
End;

romber 23. Jul 2009 18:16

Re: Exception-Text übernehmen???
 
Vielen Dank!


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:07 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz