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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.69.66 with SMTP id m42mr8280697yhd.44.1413147948008; Sun, 12 Oct 2014 14:05:48 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!dc16no2399473qab.1!news-out.google.com!rp1ni28058igb.0!nntp.google.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx26.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:35.0) Gecko/20100101 Thunderbird/35.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: type conversion References: <8d412a6d-5589-4601-a7f8-5bb6d1b8850f@googlegroups.com> In-Reply-To: Message-ID: X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Sun, 12 Oct 2014 21:05:47 UTC Organization: TeraNews.com Date: Sun, 12 Oct 2014 15:05:46 -0600 X-Received-Bytes: 1209 X-Received-Body-CRC: 2038325257 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Original-Bytes: 1228 Xref: number.nntp.giganews.com comp.lang.ada:189706 Date: 2014-10-12T15:05:46-06:00 List-Id: On 10/12/2014 3:16 AM, Simon Wright wrote: > Shark8 writes: > >> Subtype Integer_String is >> with Dynamic_Predicate => Integer'Value( Integer_String ) in Integer >> or else raise Constraint_Error; > > Do you actually need the 'or else raise Contraint_Error'? or is that > just to control the exception raised? > Just controlling the exception raised.