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,1a4156f047b063f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Forcing Exception Handling Date: Mon, 28 Feb 2011 19:10:54 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <02901b13-da72-48ae-9cb3-bf1a10144c44@u3g2000vbe.googlegroups.com> <51b5a53a-ae73-4435-8004-2ec4574b773c@r19g2000prm.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 28 Feb 2011 19:10:54 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="4pjzwDT2MPp9AkNxUo/C4Q"; logging-data="25483"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sM7si/DhoEWynwEXOzvUat4wdtYF4JKU=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:Fp39qvzxcWQRqkhYc51Ep/6Iu3k= Xref: g2news2.google.com comp.lang.ada:18617 Date: 2011-02-28T19:10:54+00:00 List-Id: On 2011-02-28, onox wrote: > On Feb 28, 6:32�pm, Simon Clubley Earth.UFP> wrote: >> On 2011-02-28, iloAda wrote: >> > I was wondering if there is a way in Ada to force exception handling. >> > For instance, if there is a call to a function that may raise an >> > exception, force the caller to handle that exception. >> >> What's wrong with the raise statement ? >> >> (Or have I not understood what it is you are after ?) >> > > I think he means that certain exceptions must be catched somewhere, > like Java does. I see - I wasn't thinking in Java mode. :-) Given that, the only thing I could think of was that the OP was looking for a way for application logic to raise a exception, but that seemed really basic, hence my question about if I had not understood the question. Thanks for the feedback, Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world