🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.components.usage
Article #23

Error keeps raising through exception handler...

#23
From: Louis Pelletier
Date: Tue, 29 Dec 1998 00:00
24 lines
1560 bytes
I use the thttp component from Delphi 4.

I want to be able to stop the component from continuing its work by
using http.cancel or http.abort. When stopped that way, an error
exception is raised. I don't need to manage this error, and I don't want
it to show though to the user.

So I used a try..except on [myerror] do [nothing] end; but it doesn't
work. The error keeps raising through my handler and shows to the
end-user interface.

BTW, I understand that some exceptions show through when running under
Delphi but not when runned alone (in the real world). But the same
problem happens in either way...

What am I doing wrong or why does the exception show through? Is it a
bug in the component? In Delphi exception handling?

Thanks,

Louis Pelletier, Qu�bec

PS. Resolving this problem is very important for me now, since I wan't
to use this kind of procedure quite often.
Technical Details
Message-ID: <3688673C.704FA7CF@total.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fb0ea,852efd9de783389,start
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: f973b,852efd9de783389,start
X-Google-Attributes: gidf973b,public
From: Louis Pelletier <removethis_louispel@total.net>
Subject: Error keeps raising through exception handler...
Date: 1998/12/29
Message-ID: <3688673C.704FA7CF@total.net>
X-Deja-AN: 426677718
Content-Transfer-Encoding: 8bit
X-Accept-Language: fr-CA,en
Content-Type: text/plain; charset=iso-8859-1
Organization: TotalNet Inc.
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.delphi.components.usage,borland.public.delphi.vcl.components.using