🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TNMHTTP component

#4927
From: Jonas Andersson
Date: Wed, 17 Nov 2004 16:45
31 lines
1661 bytes
Same error with
 try
        {
  NMHTTP1->Get( LE_Filename->Text );
        }
        catch( const Exception & )
        {
         ShowMessage("this will not show up :(");
        }


Exception is ESockError of type "Host lookup failed"
/Jonas


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> skrev i meddelandet
news:41995169@newsgroups.borland.com...
>
> "Jonas Andersson" <x57001@hotmail.com> wrote in message
> news:41994944@newsgroups.borland.com...
>
> >         catch(...)
>
> You should be catching VCL exceptions explitcially, not using "...":
>
>     catch(const Exception &)
>
>
> Gambit
>
>
Technical Details
Message-ID: <419b7fa5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41994944@newsgroups.borland.com> <41995169@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,30fed71d8132c844
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonas Andersson" <x57001@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41994944@newsgroups.borland.com> <41995169@newsgroups.borland.com>
Subject: Re: TNMHTTP component
Date: Wed, 17 Nov 2004 17:45:09 +0100
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 130.236.213.10
Message-ID: <419b7fa5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100709797 130.236.213.10 (17 Nov 2004 08:43:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail