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
Tue, 07 Feb 2023 04:31:15 UTC
Copyright © 2009-2023
HREF Tools Corp.