Article View: borland.public.cppbuilder.internet.socket
Article #783Re: Handling Messages
From: Remy Lebeau (TeamB)
Date: Wed, 07 Nov 2007 17:48
Date: Wed, 07 Nov 2007 17:48
16 lines
1629 bytes
1629 bytes
"bar" <shaikakbar250281@yahoo.co.in> wrote in message news:473188d7@newsgroups.borland.com... > How to handle the error messages like Page Not Found, > Time Out, while using Indy 9. Assuming you are using TIdHTTP, those are handled automatically, provided the server is sending back a proper error response at the HTTP level. When that happens, TIdHTTP will throw an exception that you can catch. If, on the other hand, the server is sending a success response instead of an error response, then an exception will not be thrown, and you will have to parse the returned HTML manually instead. Gambit
Technical Details
Message-ID:
<4731faac$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<473188d7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1ea8a3b806ed4dcc X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <473188d7@newsgroups.borland.com> Subject: Re: Handling Messages Date: Wed, 7 Nov 2007 09:48:35 -0800 Lines: 19 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <4731faac$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1194457772 207.178.157.90 (7 Nov 2007 09:49:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail