Article View: borland.public.cppbuilder.nativeapi
Article #6735Re: custom VCL exceptions, how?
From: Francisco M. Marzoa
Date: Mon, 18 Apr 2005 16:04
Date: Mon, 18 Apr 2005 16:04
28 lines
1626 bytes
1626 bytes
It compiles fine, thanks a million. BTW, now it says that a return
statement that I've just after throw the extension is an "Unreachable
code". Do you know why?
Jonathan Benedicto wrote:
> "Francisco M. Marzoa" <fmmarzoa@softronica.org> wrote in message
> news:4263d57c@newsgroups.borland.com...
>
>>I've created my exception as:
>>
>>class EDeviceNoAnswer : public Exception {};
>
>
> Try :
>
> class EDeviceNoAnswer : public Exception
> {
> public:
> __fastcall EDeviceNoAnswer(AnsiString Msg) : Exception(Msg)
> { };
> };
>
> HTH
>
> Jonathan
>
>
>
Technical Details
Message-ID:
<4263da98@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4263d57c@newsgroups.borland.com> <4263d6dc@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b4c3995c44850950 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 18 Apr 2005 18:04:40 +0200 From: "Francisco M. Marzoa" <fmmarzoa@softronica.org> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: custom VCL exceptions, how? References: <4263d57c@newsgroups.borland.com> <4263d6dc@newsgroups.borland.com> In-Reply-To: <4263d6dc@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.4.20.55 Message-ID: <4263da98@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113840280 213.4.20.55 (18 Apr 2005 09:04:40 -0800) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail