🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3732

Re: Exception handling

#3732
From: Jan Slansk
Date: Mon, 13 Jun 2005 22:38
15 lines
2005 bytes
> I highly doubt that.  If Delphi can catch it, so can you.  That is why I
> told you to display the actual ClassName, so that you could see the actual
> ClassName that is being thrown and can then update your catch statements
> accordingly.  Or, if you just catch Exception or EIdException directly and
> not any specific derived classes, then you will be catching all possible
> exceptions that can reach your own code.

OK, Let's talk about one exact exception to prevent speculations - 403 
HTTP/1.1 Forbidden.
This is EdIdHTTPProtocolException. I doubt that this exception doesn't 
reach my code. As you said,
I have seen that friend's Borland Delphi catch it, but my Borland c++ 
builder don't. I use catch(Exception &e)
catch(EIdException &e) and catch(EIdHTTPProtocolException &e) but 
nothing works.
Technical Details
Message-ID: <42ae0ad7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42ada95b@newsgroups.borland.com> <42adbc9f@newsgroups.borland.com> <42ade312$1@newsgroups.borland.com> <42adea88$1@newsgroups.borland.com> <42adf4b0$1@newsgroups.borland.com> <42ae03d6$1@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
Date: Tue, 14 Jun 2005 00:38:16 +0200
From: Jan Slansk <p.prm@seznam.cz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Exception handling
References: <42ada95b@newsgroups.borland.com> <42adbc9f@newsgroups.borland.com> <42ade312$1@newsgroups.borland.com> <42adea88$1@newsgroups.borland.com> <42adf4b0$1@newsgroups.borland.com> <42ae03d6$1@newsgroups.borland.com>
In-Reply-To: <42ae03d6$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.113.65.3
Message-ID: <42ae0ad7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118702295 195.113.65.3 (13 Jun 2005 15:38:15 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail