🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to throw exeption on server and catch it in client

#435
From: colin
Date: Wed, 10 Oct 2001 08:24
13 lines
1208 bytes
interface��
STDMETHODIMP TgggImpl::Show()
{
throw Exception("aaa");
}
client:
try
{
ggg->Show()}
catch(Exception &e)
{ShowMessage(e.Message);
}
but cannot catch it ,how to catch it
Technical Details
Message-ID: <3bcbec8c_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.fh-hannover.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,92960e24efe86687,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-10-16 01:16:17 PST
Reply-To: "colin" <ppzhao@163.net>
From: "colin" <ppzhao@163.net>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: how to throw exeption on server and catch it  in client
Date: Wed, 10 Oct 2001 16:24:53 +0800
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 61.155.189.73
Message-ID: <3bcbec8c_2@dnews>
X-Trace: dnews 1003220108 61.155.189.73 (16 Oct 2001 01:15:08 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.fh-hannover.de!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews