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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e136d2bb18e6fb60 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-02 11:29:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail From: Wes Groleau Reply-To: wesgroleau@despammed.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: A suggestion, completely unrelated to the original topic References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4wOG9.2144$c6.2494@bos-service2.ext.raytheon.com> Date: Mon, 02 Dec 2002 14:29:04 -0500 NNTP-Posting-Host: 151.168.133.155 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 1038857344 151.168.133.155 (Mon, 02 Dec 2002 14:29:04 EST) NNTP-Posting-Date: Mon, 02 Dec 2002 14:29:04 EST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:31355 Date: 2002-12-02T14:29:04-05:00 List-Id: When I see something like: > exception > when A: Ada.Io_Exceptions.Status_Error => > T_Io.Put_Line("Status_Error in Char_Sets_Test."); > T_Io.Put_Line(Ada.Exceptions.Exception_Information(A)); > when O: others => > T_Io.Put_Line("Others_Error in Char_Sets_Test."); > T_Io.Put_Line(Ada.Exceptions.Exception_Information(O)); I generally think it would be easier to use: exception when E : others => T_Io.Put_Line(Ada.Exceptions.Exception_Name(E) & " in Char_Sets_Test."); T_Io.Put_Line(Ada.Exceptions.Exception_Information(E));