Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   How not to re-raise an exception in Delphi (https://www.delphipraxis.net/197984-how-not-re-raise-exception-delphi.html)

DP News-Robot 24. Sep 2018 17:10

How not to re-raise an exception in Delphi
 
TL;DR Use raise; instead of* raise E; Long version In this code, when an exception caused by the ProduceMessage method got caught by the try … except construct and reached the Break statement in the Exception handler, an EAccesViolation occured: After many attempts to find the reason of the EAccessViolation, I found that it was … <a href="https://mikejustin.wordpress.com/2018/09/24/how-not-to-re-raise-an-exception-in-delphi/" class="more-link">Continue reading <span class="screen-reader-text">Ho

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:41 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