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,5f260a1d9f0c280c X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!a3g2000prm.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Common exception handling Date: Tue, 26 Aug 2008 05:58:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <88961e92-80a8-4e96-b231-9d67eca0adf5@v26g2000prm.googlegroups.com> <1d1a76fa-a537-4994-9578-7c7604b26ca2@w24g2000prd.googlegroups.com> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1219755534 5869 127.0.0.1 (26 Aug 2008 12:58:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 26 Aug 2008 12:58:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a3g2000prm.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7520 Date: 2008-08-26T05:58:54-07:00 List-Id: On Aug 26, 1:48=A0pm, Ludovic Brenta wrote: [snip] > If all you want it to print the name of the exception, it is better > like this: > > exception > =A0 =A0when E : others =3D> > =A0 =A0 =A0 Put_Line (Ada.Exceptions.Exception_Name (E)); > > -- > Ludovic Brenta. Yes, it was just a method of demonstrating the different paths that have been exercised. Cheers -- Martin