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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!bigfeed3.bellsouth.net!news.bellsouth.net!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Structured exception information Date: Sun, 28 Jan 2007 12:38:56 +0000 Organization: Pushface Message-ID: References: <1169819196.5976.57.camel@localhost.localdomain> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1169987935 9113 62.49.19.209 (28 Jan 2007 12:38:55 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 28 Jan 2007 12:38:55 +0000 (UTC) Cancel-Lock: sha1:CzWMq/WxuwwX3PnRWDRVSIZjqME= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news2.google.com comp.lang.ada:8645 Date: 2007-01-28T12:38:56+00:00 List-Id: Stephen Leake writes: > raise Hardware_Error with > "digital pot card did not respond to serial number request"; > > raise Hardware_Error with > "digital pot card responded with wrong byte count to serial number" & > request (got" & Stream_Element_Offset'Image (Data_Last) & ")"; > > raise Parameter_Error with > "motor" & Integer'Image (Module.Ramp_Motor_Index) & > " Disable_Encoder_Model not set"; > > raise Device_Error with > "can't open device " & C_Name (1 .. C_Name'Last - 1) & " : " & > Error_Type'Image (To_Error (GNAT.OS_Lib.Errno)); Our project (which has no HCI for the end users, just for the maintenance engineer) might categorise these as (a) and (b) possible hardware error, run BIT, get maintainer to replace card if won't come good (c) design error, reboot and report fault to support (d) possible connection failure, run BIT, get maintainer to check cabling and in none of these is the original (English) text likely to help front-line maintenance, though it will clearly help us to diagnose (c) back at base. It all depends who's going to be reading the error text.