From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Structured exception information Date: Wed, 17 Jan 2007 08:28:56 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <45add038$1@news.post.ch> References: <1168885771.30643.20.camel@localhost> <1168891576.30643.39.camel@localhost> <5NKdnTv2UZfVZTbYnZ2dnUVZ_vipnZ2d@megapath.net> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1169018940 23658 194.41.146.1 (17 Jan 2007 07:29:00 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Wed, 17 Jan 2007 07:29:00 +0000 (UTC) User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: X-Original-NNTP-Posting-Host: w01iwt.pnet.ch X-Original-Trace: 17 Jan 2007 08:28:56 +0200, w01iwt.pnet.ch Xref: g2news2.google.com comp.lang.ada:8216 Date: 2007-01-17T08:28:56+01:00 List-Id: Ray Blaak schrieb: > With regard to structured exceptions, other languages have done it, and the > problems preventing from being done well in Ada seem artificial. Why can't it > just work conveniently for the programmer? You forgot: Other languages don't have task types or ANNEX E. Recently did a Weblogic course and to my surprise learned that if the server applications raises an exception A that the client will receive exception B with B being either ...UserException or ...SystemException (can't recall the exact names) and all extra informations lost. I found that very restricting and not a solution I which for in Ada. But as Randy pointed out: With external streaming it might be possible. Maybe next time round. Martin