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,a83c46b54bacb7f6 X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Re: JOB:Sr. SW Engineers Wanted-Fortune 500 Co Date: 2000/02/17 Message-ID: <38AC4E61.45A32AE3@earthlink.net>#1/1 X-Deja-AN: 587045039 Content-Transfer-Encoding: 7bit References: <3894A823.92EC75D1@bondtechnologies.com> <874b7r$mj9$1@nnrp1.deja.com> <38967537_1@news.jps.net> <2000Feb1.153921.1@eisner> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 950816377 198.94.156.19 (Thu, 17 Feb 2000 11:39:37 PST) Organization: EarthLink Network, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Thu, 17 Feb 2000 11:39:37 PST Newsgroups: comp.lang.ada Date: 2000-02-17T00:00:00+00:00 List-Id: I am working on a non-critical project. Really non-critical: I'm using Visual Basic :-(. But I notice that after I've taken all the valid paths to an if statement, I throw in an else that 1) throws up an error message dialog and 2) exits the subroutine. Now I don't even try to do an error recovery, but I do check for the "Impossible Error" occurring. I *think* that so far it's only happened during development. If not, the users are failing to follow the instructions and call me. (This is an internal-use project.) Hyman Rosen wrote: > kilgallen@eisner.decus.org (Larry Kilgallen) writes: > > And some small fraction of automobile collision victims who are not wearing > > safety belts are "thrown clear". Exceptional cases do get more press. > > I am clearly in need of enlightenment, so please explain to me. After > you have decided that a given situation is impossible, will you > nevertheless add an error handler for that impossible situation, so > that if it happens anyway, you can recover gracefully? To what level > of detail and impossibility will you go? When you write Ada code, how > many exception handlers for Program Error do you put into your code?