Article View: borland.public.cppbuilder.internet.socket
Article #3726Re: Exception handling
From: Remy Lebeau (TeamB)
Date: Mon, 13 Jun 2005 16:58
Date: Mon, 13 Jun 2005 16:58
22 lines
1374 bytes
1374 bytes
"Jan Slansk" <p.prm@seznam.cz> wrote in message
news:42ada95b@newsgroups.borland.com...
> catch(...) {
You should not be using '...' to catch VCL exceptions. Especially in BCB6,
because '...' doesn't work for VCL exception anymore. Catch them
explicitially instead.
catch(const EIdSocketError &)
catch(const EIdHTTPProtocolException &)
catch(const EIdException &)
catch(const Exception &)
etc...
Gambit
Technical Details
Message-ID:
<42adbc9f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42ada95b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a561ce3cd6ae6110 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <42ada95b@newsgroups.borland.com> Subject: Re: Exception handling Date: Mon, 13 Jun 2005 09:58:04 -0700 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42adbc9f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118682271 68.69.17.41 (13 Jun 2005 10:04:31 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail