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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6356dae021831bf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-30 06:37:37 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3CA5BF66.C56AAF87@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: error analysis/handling/detecting/reporting/preventing/recovery/reproduce/debug References: <3ca4f927.113268406@news.genuity.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 30 Mar 2002 14:37:37 GMT NNTP-Posting-Host: 158.252.122.211 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1017499057 158.252.122.211 (Sat, 30 Mar 2002 06:37:37 PST) NNTP-Posting-Date: Sat, 30 Mar 2002 06:37:37 PST Xref: archiver1.google.com comp.lang.ada:21891 Date: 2002-03-30T14:37:37+00:00 List-Id: Jef Mangelschots wrote: > > I would like to start a discussion thread on the topic of error > handling: > > Suppose you have just developed the first draft of your SW which only > handles nominal cases. > Suppose you are about to make the application more robust by going > over your code again and > modify it in order to: > - analyse > - detect > - handle > - report > - prevent > - recover > - reproduce > - debug > errors/anomalies/faults which can be caused by: > - system failure > - bad user input > - programming failures > - bad design > - unexpected input data > - ... If the first draft of your software is designed only to handle nominal cases, then the only error error/anomaly/fault present is BAD DESIGN. Error handling and recovery must be _designed_ into the system, even if the actually implementation of the off-nominal recovery handling is stubbed out for the first draft. Marc A. Criley Consultant Quadrus Corporation www.quadruscorp.com