Article View: borland.public.cppbuilder.database.multi-tier
Article #787Re: problem exception handling on midas server
From: Steve Pietrykoski
Date: Thu, 05 Oct 2000 00:00
Date: Thu, 05 Oct 2000 00:00
26 lines
1728 bytes
1728 bytes
I have in my projects successfully thrown errors on the server and caught them on the client. In your code you are relying on the return value from the server function. For me, I stepped through the VCL code and found that the return value is ignored. I always return S_OK and I don't catch the exception on the server. Jeroen Eikmans wrote: > > The exception is still not catched. I think that the exception thrown by the > app server is not transported by the MIDAS architecture to the client, > because there comes no exception on the client side. > > Should I use call back functionality ?? > > "Mark Cashman (TeamB)" <mcashman@temporaldoorway.com> wrote in message > news:39DB4B6B.EA805DFD@temporaldoorway.com... > > Try a catch (Exception &VCLException) instead of catch(...) > > > > ------ > > Mark Cashman, TeamB C++ Builder > > http://www.temporaldoorway.com/programming/index.htm > > C++ Builder, JBuilder programming information > > Home of The C++ Builder Programmer's Webring - Join us! > > ------ > > > >
Technical Details
Message-ID:
<39DC9250.FBA0AA0A@SpamIsLame.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39daf73e$1_2@dnews> <39DB4B6B.EA805DFD@temporaldoorway.com> <39dc2163$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,a6431034b6bf82f9 X-Google-Attributes: gidfcd2b,public From: Steve Pietrykoski <steve@SpamIsLame.com> Subject: Re: problem exception handling on midas server Date: 2000/10/05 Message-ID: <39DC9250.FBA0AA0A@SpamIsLame.com> X-Deja-AN: 677894008 Content-Transfer-Encoding: 7bit References: <39daf73e$1_2@dnews> <39DB4B6B.EA805DFD@temporaldoorway.com> <39dc2163$1_1@dnews> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 5 Oct 2000 07:27:28 -0800, 209.101.165.21 Organization: Artisan Software, LLC MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier