On Wednesday 04 April 2007 00:18, Markku Uttula wrote:
>  Oh, and for
> the record, on my opinion "try ... except on e:exception do begin
> end;" is not "exception handling" :D

On the contrary, inside a thread running in a loop you simply can not do 
much more than perhaps logging it (and even then you'd need some thread 
safe logging facility) unless you are willing to let the thread die.

Well, of course you are right, it is not handling but rather ignoring 
the exception, but in most circumstances it's quite hard to do anything 
more than just go back in the loop and try again.

Oh, BTW, your ignorance code above is way too complex:

|   try
|      ...
|   except
|      {null};
|   end {try};

does it just fine. :D


Vinzent.

-- 
Yet a warning is nothing more than the compiler, which knows far more 
about the language than most of us, saying "hey, you're scaring me, 
man."
    -- Jack Ganssle, Embedded Muse 129


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to