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: Logic operators AND, OR, NOT, NEAR, and LIKE do not have to be capitalized
 
 
Originally created by
Tamarack Associates
Mon, 20 May 2024 00:36:05 UTC
Copyright © 2009-2024
HREF Tools Corp.