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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1901f265c928a511 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: new revision ada (limited with, excpetion handling) Date: Mon, 21 Jun 2004 13:27:44 +0100 Message-ID: <2jo2i0F13k4obU1@uni-berlin.de> References: <40BDBBFA.2020203@noplace.com> <1087475285.166449@master.nyc.kbcfp.com> <2jlepqF12qbb6U1@uni-berlin.de> X-Trace: news.uni-berlin.de FmVCEAnFo40Lg/TvTPLYXguKs3AYee+gts2vnrbLETZFrKx14= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:1737 Date: 2004-06-21T13:27:44+01:00 List-Id: "Brian May" wrote in message news:sa4r7s9hkp6.fsf_-_@snoopy.apana.org.au... > Nick> In fact, this restriction is likely be lifted (in a very > Nick> restricted way ;-) in the new revision of the Ada > Nick> language. It has proved to be too inconvenient. > > Are the details of this new revision of Ada published anywhere? http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-50217.TXT?rev=1.13 > Personally I have very happy with Ada95 the way it is, the only > exception being exception handling which tends to look restrictive > now compared with, say Java exceptions (as functions declare > what exceptions they can raise, and can pass more information in > the exception instead of just a string). I'm not sure that it would be appropriate to add such facilities to the Ada standard. Remember, a key area of Ada usage is embedded systems, for which (the necessity to support) such facilities would be likely to be unwelcome shiralee. It may be appropriate for a secondary or informal standard to agreed upon by those Ada compiler companies for whom it is appropriate, possibly to add a procedure allowing a value in the class of a given abstract root tagged type to be associated with an exception instance, and a function to retrieve this value. It seems to me that a mechanism of this kind is required to (neatly) support the current CORBA Ada binding. -- Nick Roberts