Barry Kelly
Re: Exceptions vs Error codes

Re: Exceptions vs Error codes

"Barry Kelly" <‚úČ> wrote in message
> > I tend to mute all exceptions in the execute block of a thread, for
> > instance (otherwise the app has a mysterious tendecy to suddenly
> > dissappear).
> Pre D6, yes. You must have a bed-rock of exception handling, unless you
> want all error conditions to be fatal.

What's different about this in D6? <educate me, I've only yesterday
acquired D6 personal and didn't start using it yet>

> > I often catch exceptions raised by TFilestream, so the
> > user can get a notice in a gracefull manner that the file is locked or
> > the free diskspace is no more.
> There, I think that's a bad idea.

What is a bad idea, raising the exceptions in the first place or ensuring
they're caught?

FYI: Phrase searches are enclosed in either single or double quotes
Originally created by
Tamarack Associates
Tue, 07 Feb 2023 04:32:07 UTC
Copyright © 2009-2023
HREF Tools Corp.