🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO and Exceptions

#4074
From: Daryl
Date: Tue, 09 Apr 2002 09:45
21 lines
1764 bytes
Jeff
MY guess...

I think that when in the IDE, exceptions will appear before your exception
handler..

Try - Selecting TOOLS from the menu, then DEBUGGER OPTIONS, then select the
LANGUAGE OPTION, then try "un-checking" either or both "Stop on Delphi
exceptions" - "Stop on C++ exceptions".

I think this may allow you to see the finished article run ie as the end
user will see it - the programme outside the IDE.

Daryl

"Jeff" <jkofsky@bellsouth.net> wrote in message news:3cb16e2f$1_2@dnews...
> The 'Code' field is the Primary Key. When I try to post a Code that is
> already used, I get to exceptions that are displayed (EOleException &
> EDatatbaseError) BEFORE the catch block is executed. I have tried an
> OnPostError() event and nothing will stop the first two exceptions from
> being displayed before going to my handler(s). What gives?
Technical Details
Message-ID: <3cb2b6ac_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hub.siol.net!zur.uu.net!dca.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3cb16e2f$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,b813aadf97a66fb7
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-04-09 02:49:24 PST
From: "Daryl" <stockd@cqnet.com.au>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3cb16e2f$1_2@dnews>
Subject: Re: ADO and Exceptions
Date: Tue, 9 Apr 2002 19:45:49 +1000
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 203.47.200.64
Message-ID: <3cb2b6ac_1@dnews>
X-Trace: dnews 1018345132 203.47.200.64 (9 Apr 2002 02:38:52 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hub.siol.net!zur.uu.net!dca.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews