🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5084

Re: ADOExpress and exception

#5084
From: Formentz
Date: Tue, 10 Jul 2001 08:10
26 lines
1971 bytes
Ciao Giuliano,
It seems to be an Italian discussion, shouldn't we speak italian? ;-D
I had your same problem but different exception : in my apps I use to wrap
the ExecSQL() method in a function :
bool __fastcall ExecSQL(TADOQuery *query)
so I can execute the query and handle the exception returning false if exec
wasn't right.
I do your same catch block but with EADOError instead of EOleException, and
never got the EADOError fired, every time it is the catch(Exception &e) to
be executed.
I should think that they use different type of exception, or they use
directly Exception type.
I advice you to look ad the sources, to see if you can see how the exception
is thrown, I'll look at them too, but now I have no time to do it, so if
I'll find out sth, I'll let you know.

Ciao
    Formentz

> I would like to read some comments from anyone that has had a problem
> like this, in order to understand if it's a real bug, so that I can report
> this to Borland.
>
> Thanks.
>
> Giuliano
Technical Details
Message-ID: <3b4ab74c$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!newspeer.highwayone.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b49db8e.6646036@newsgroups.borland.com> <3b4a3896_2@dnews> <3b4b3984.30700014@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,1623dd9ebc255b47
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-07-10 01:10:17 PST
From: "Formentz" <francesco@leotron.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3b49db8e.6646036@newsgroups.borland.com> <3b4a3896_2@dnews> <3b4b3984.30700014@newsgroups.borland.com>
Subject: Re: ADOExpress and exception
Date: Tue, 10 Jul 2001 10:10:08 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 62.122.26.23
Message-ID: <3b4ab74c$1_2@dnews>
X-Trace: dnews 994752332 62.122.26.23 (10 Jul 2001 01:05:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!newspeer.highwayone.net!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!dnews