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-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!news-zh.switch.ch!switch.ch!cernne03.cern.ch!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Structured exception information Date: Mon, 22 Jan 2007 10:14:40 +0100 Organization: CERN News Message-ID: References: NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: cernne03.cern.ch 1169457281 24343 137.138.37.241 (22 Jan 2007 09:14:41 GMT) X-Complaints-To: news@@cern.ch NNTP-Posting-Date: Mon, 22 Jan 2007 09:14:41 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (X11/20061220) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:8394 Date: 2007-01-22T10:14:40+01:00 List-Id: Robert A Duff wrote: >> It's much better to trucate a String to 200 bytes than some >> user-defined type. > > Indeed. If a limit is needed (I don't think so), then truncation is > tolerable for Strings It is not tolerable if the message contains anything more than a prose. If the programmer needs to build the string message out of other components (what was suggested in this thread), then truncating the message is about the same good idea as truncating the amount in bank account or rounding coordinates for a spaceship. That's the problem. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/