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,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1e4bb63e08046e1a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-24 07:26:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!jussieu.fr!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: is exception when others => null; smart? Date: Thu, 24 Oct 2002 09:25:04 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1035469562 50828 137.194.161.2 (24 Oct 2002 14:26:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 24 Oct 2002 14:26:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:30097 Date: 2002-10-24T09:25:04-05:00 Well, essentially what it says is "If anything bad happens, I don't want to know about it." ----- Original Message ----- From: "Preben Randhol" Newsgroups: comp.lang.ada To: Sent: October 24, 2002 9:03 AM Subject: is exception when others => null; smart? > Hi > > As Emacs (ugg!) got installed when I had to reinstall Debian due to a > hard disc crash, I thought I'd have a look at the ada-mode before > uninstalling Emacs. > > Now I'm in the process of making a ada-mode for vim (currently called: > am - Ada in the Morning) which will have much of the functionality of > the ada-mode for Emacs. > > However there is one thing with ada-mode which I don't know is what I > want: > > If you choose to generate a body for a procedure or a function then you > get this: > > procedue Proc > is > > begin > > exception > when others => null; > end Proc; > > My question is: Is this smart? I mean won't you then automatically mask > all the potential problems you might get at run-time so that you won't > see errors in the code during testing? I can see that it might also have > advantages, but before I implement this I would like to hear what you > think. > > Thanks in advance. > > Preben > -- > Ada95 makes your code less cryptic. > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >