Article

From:
To:
John McTaggart
Subject:
Re: Exceptions vs Error codes
Newsgroup:
borland.public.delphi.objectpascal

Re: Exceptions vs Error codes

In article <✉newsgroups.borland.com>
	✉tech-medic.com (John McTaggart) wrote:

> On Tue, 14 Aug 2001 03:16:12 +0100, Barry Kelly <✉eircom.net>
> wrote:
> 
> 
> >Please list some valid uses of exception-swallowing try..except blocks,
> >and I'll show you that the majority should have checked for error before
> >doing whatever raised the exception.
> 
> In a web module that saves the settings of a component with TWriter
> and RTTI.

Show me the code. Show me where it uses exceptions for failure, and
doesn't check error conditions before it causes an exception.

-- Barry
--   If you're not part of the solution, you're part of the precipitate. Team JEDI: http://www.delphi-jedi.org NNQ - Quoting Style in Newsgroup Postings   http://web.infoave.net/~dcalhoun/nnq/nquote.html
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Tue, 07 Feb 2023 04:50:54 UTC
Copyright © 2009-2023
HREF Tools Corp.