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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7d3cb5920e882220 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: Exceptions, part 2 Reply-To: anon@anon.org (anon) References: <5947aa62-2547-4fbb-bc46-1111b4a0dcc9@x69g2000hsx.googlegroups.com> X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Fri, 07 Dec 2007 04:43:26 GMT NNTP-Posting-Host: 12.64.90.81 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1197002606 12.64.90.81 (Fri, 07 Dec 2007 04:43:26 GMT) NNTP-Posting-Date: Fri, 07 Dec 2007 04:43:26 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:18753 Date: 2007-12-07T04:43:26+00:00 List-Id: Forgot, to say there is no GNAT compiler option or standard Ada command that will force a programmer to use the "Exception" statement. So it is up the the programmer to include the statement unlike Java which forces the issue. In <5947aa62-2547-4fbb-bc46-1111b4a0dcc9@x69g2000hsx.googlegroups.com>, shaunpatterson@gmail.com writes: >Is there any way to force programmers to catch exception that >your function throws? Something like Java forcing coders to >put try/catch blocks > > >Thanks >-- >Shaun