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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,631686271a29a357 X-Google-Attributes: gid103376,public From: jsa@organon.com (Jon S Anthony) Subject: Re: Common Error/Exception Handler Date: 1996/05/09 Message-ID: #1/1 X-Deja-AN: 153966815 sender: news@organon.com (news) references: organization: Organon Motives, Inc. newsgroups: comp.lang.ada Date: 1996-05-09T00:00:00+00:00 List-Id: In article je@bton.ac.uk (John English) writes: > One of the things that really annoys me about GNAT is the ubiquitous > "raised unhandled exception" message. A bit more detail (exception > name as a minimum, file name & source line number preferably) would > make life *sooo* much easier... That has been available since around 3.01 (I think). It certainly is there in 3.03 and 3.04. For example, rocedure Exception_Stuff is My_Exception : exception; begin raise My_Exception; end; $ gnatmake exception_stuff.adb $ exception_stuff raised EXCEPTION_STUFF.MY_EXCEPTION $ It also works for the "raise" operations in Ada.Exceptions where you can attach an additional user specified message. /Jon -- Jon Anthony Organon Motives, Inc. 1 Williston Road, Suite 4 Belmont, MA 02178 617.484.3383 jsa@organon.com