From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 15 Sep 93 01:03:45 GMT From: munnari.oz.au!bruce.cs.monash.edu.au!monu6!aggedor.rmit.OZ.AU!root@tcgoul d.tn.cornell.edu (Dale Stanbrough) Subject: Comparison of Ada and C++ exceptions? Message-ID: <275plh$smn@aggedor.rmit.OZ.AU> List-Id: Recently I had reason to look at C++'s exception handling. I noticed that each exception can have associated with it some data (user defined), such as a string, a pointer - in fact any object the programmer wants. I don't think Ada9x's exceptions have any such feature, and I was wondering what the general feeling about this was. Is it useful to be able to pass data along with an exception? Dale Stanbrough RMIT, Melbourne Australia dale@goanna.cs.rmit.edu.au