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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1096a7986b560ad6 X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: In Exception ? Date: 1998/04/09 Message-ID: <352D0352.A5C6D4BA@elca-matrix.ch>#1/1 X-Deja-AN: 342468078 Content-Transfer-Encoding: 7bit References: <35214b7a.0@news.profinet.at> <6g7fpc$l08$1@usenet.rational.com> <6gcjru$7im@drn.newsguy.com> Mime-Version: 1.0 Reply-To: Mats.Weber@elca-matrix.ch Content-Type: text/plain; charset=us-ascii Organization: ELCA Matrix SA Newsgroups: comp.lang.ada Date: 1998-04-09T00:00:00+00:00 List-Id: nabbasi@earthlink.net.NOSPAM wrote: > I think Ada should have a function that tells one if they are in an > exception handler or not. I know this is platform specific stuff, but > that is the whole idea of using Ada, to hide platform specific things > from the user. I remember that PLIon VMS had such a call in its run-time > library, I could be wrong though. Would that function return True or False at --B in the code below ? And if it is called from a subprogram that is called form --A ? I think the concept of "being in an exception handler" is just not so easy to define well. begin ... --A exception when e => begin ... --B exception when f => ... end; end;