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,319ef0454c7765d5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-24 04:44:37 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!swrinde!pipex!sunic!sunic.sunet.se!news.uni-c.dk!unidhp.uni-c.dk!mojemj From: mojemj@unidhp.uni-c.dk (Mogens Jensen) Newsgroups: comp.lang.ada Subject: Why no exception hierarchy ? Date: 23 Mar 1995 23:10:20 GMT Organization: News Server at UNI-C, Danish Computing Centre for Research and Education. Message-ID: <3ksv4s$f9e@news.uni-c.dk> NNTP-Posting-Host: unidhp.uni-c.dk X-Newsreader: TIN [version 1.2 PL1] Date: 1995-03-23T23:10:20+00:00 List-Id: Hi all, I am, as many others, looking into Ada95. I am currently using C++, and am increasingly aware of some more or less serious flaws in the C++ language. One thing that puzzles me in Ada95 is that exceptions isn't hierarchical like in C++ and Delphi (and others, that I don't know of :) ). This would also help in the Numeric_Error is_a Constraint_Error problem. As OOP has been built into the language, class hierarchies/libraries will be built (or transferred from C++, maybe?); and these will probably throw exceptions. As far as I can see, a hierarchy of exceptions would help a lot in such a library. What is the rationale for this (I couldn't find it in either the AARM or the Rationale). Greetings from Jens Jakob Jensen, Denmark (using my fathers account)