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,7d3cb5920e882220 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps90.POSTED!53ab2750!not-for-mail Sender: blaak@METROID Newsgroups: comp.lang.ada Subject: Re: Exceptions References: <5947aa62-2547-4fbb-bc46-1111b4a0dcc9@x69g2000hsx.googlegroups.com> <475c688f$0$17524$9b4e6d93@newsspool4.arcor-online.net> <4dae26fe-0c8a-46e1-9a33-43c18cf757ae@i3g2000hsf.googlegroups.com> <9f16235c-260a-460b-873c-2183c154cc0c@e25g2000prg.googlegroups.com> From: Ray Blaak Message-ID: Organization: The Transcend User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 14 Dec 2007 06:21:50 GMT NNTP-Posting-Host: 154.20.94.243 X-Trace: edtnps90 1197613310 154.20.94.243 (Thu, 13 Dec 2007 23:21:50 MST) NNTP-Posting-Date: Thu, 13 Dec 2007 23:21:50 MST Xref: g2news1.google.com comp.lang.ada:18940 Date: 2007-12-14T06:21:50+00:00 List-Id: "Randy Brukardt" writes: > I generally agree with you, but there is one case where you need to do > specific exception handling: when you need to change one exception into > another. Ok, it has to be said again: exceptions need to be first class objects. Changing an exception into another is trivial in most languages, typically by wrapping it with another of the desired kind. Ada's difficulties with manipulating exceptions are completely self induced. > P.S. Ada programmers *raise* exceptions. The only thing that Ada programmers > "throw" is the trash into the trash can... ;-) Real languages don't have a trash can. There is a janitor in the background cleaning everything up. Exceptions are the only thing left to throw >-). Ada is a pretty good language. Garbage collection is a step up the evolutionary ladder though, and needs to be available within Ada as well, perhaps under programmer control to be disabled when necessary. Google some previous threads for my arguments on this topic. -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, rAYblaaK@STRIPCAPStelus.net The Rhythm has my soul.