Article

From:
To:
Barry Kelly
Subject:
Re: Exceptions vs Error codes
Newsgroup:
borland.public.delphi.objectpascal

Re: Exceptions vs Error codes

"Barry Kelly" <✉eircom.net> wrote in message
news:✉4ax.com...
> There is a try..except that protects the TThread.Execute method; before
> the application would just fall off a cliff, unless you had your own one
> in .Execute.

Ah, interesting! so does TThread have an OnException/OnError event as
well?
Or how do you hook into that exception handler?

<snip>
> This rare case is the only one for which an *individual* try..except
> block is warranted.
>
> The others can get along with a bed-rock mechanism.

Again, this is a matter of application error handling strategy: "If you
don't care where you are, you ain't lost".
Kristofer
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Wed, 09 Oct 2024 15:37:09 UTC
Copyright © 2009-2024
HREF Tools Corp.