Raoul De Kezel
Re: Exceptions vs Error codes

Re: Exceptions vs Error codes

In article <✉>
	Raoul De Kezel <✉> wrote:

> > I'll show you that the majority should have checked for error before
> > doing whatever raised the exception.
> Basically, I agree. 

There's no argument, then. <g>

> Still, as you know, volatile or complex
> preconditions cannot be checked beforehand.

It depends on the quality of the input data. I'm far from sure that the
appropriate mechanism for failure of database committal is an exception,
because it isn't really an exception; it is to be expected in ordinary
minute-to-minute run-time behaviour.

-- Barry
--   If you're not part of the solution, you're part of the precipitate. Team JEDI: NNQ - Quoting Style in Newsgroup Postings
FYI: Phrase searches are enclosed in either single or double quotes
Originally created by
Tamarack Associates
Tue, 07 Feb 2023 04:46:26 UTC
Copyright © 2009-2023
HREF Tools Corp.