🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #757

Re: Exceptions

#757
From: Hans-Rudolf Morelli
Date: Thu, 23 Nov 2000 00:00
31 lines
1857 bytes
Your solution sounds very interessting to me as I have a similar problem you
had. I just can't get your solution to work. Could you send me some some
snipplest of you use it?
Thanks
Hans
"Lev Korostyshevsky" <lev_ko@hotmail.com> schrieb im Newsbeitrag
news:8vhg9r$kci5@bornews.inprise.com...
> I needed to throw exceptions not only in the DataSetProvider's events.
>
> Actually I've found the solution, and it's extremely simple. This was a
> matter of implementing correct COM interfaces. A simple alternative is for
> the IAppServer implementation to override TObject::SafeCallException and
> call HandleSafeCallException.
>
> Thanks anyway,
>
> -- Lev
>
> Hans-Rudolf Morelli <morelli.informatik@bluewin.ch> wrote in message
> news:8tm5ns$d521@bornews.borland.com...
> > Hi Lev
> > Not sure if I understand your problem correctly but this might help:
> >
> > If you work with CDSs you would throw the errors within the AppServer in
> the
> > TDataSetProvider::BeforeUpdateRecords or so. There you can throw any
> > exception you want and you can catch it on client within
> > TClientDataSet::OnReconcileError.
> > By
> > Hans
> >
Technical Details
Message-ID: <8vimh3$1641@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8tbpbg$pp4@bornews.borland.com> <39f9712f_2@dnews> <39f9726c$1_2@dnews> <8tgtr4$l8v1@bornews.borland.com> <8tm5ns$d521@bornews.borland.com> <8vhg9r$kci5@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,42053aa43bf4b10
X-Google-Attributes: gidfcd2b,public
From: "Hans-Rudolf Morelli" <morelli.informatik@bluewin.ch>
Subject: Re: Exceptions
Date: 2000/11/23
Message-ID: <8vimh3$1641@bornews.inprise.com>
X-Deja-AN: 696991784
References: <8tbpbg$pp4@bornews.borland.com> <39f9712f_2@dnews> <39f9726c$1_2@dnews> <8tgtr4$l8v1@bornews.borland.com> <8tm5ns$d521@bornews.borland.com> <8vhg9r$kci5@bornews.inprise.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.cppbuilder.database.multi-tier