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,d8a4797a79f9c90f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 11:06:16 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: I/O - exception handling Date: Wed, 28 May 2003 13:07:21 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3ED4114A.5060204@spam.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:37927 Date: 2003-05-28T13:07:21-05:00 List-Id: Preben Randhol wrote in message ... >Sergey Koshcheyev wrote: >> Since Is_Open is an I/O feature, this means to me that it may raise one >> of these exceptions too. > >The implementation of Is_Open in Gnat (3.14p) is: ... >So I don't see that this can raise an exception. But of course Gnat /= Ada. While I don't think any implementor would plan to raise an exception from Is_Open, certainly the standard allows Use_Error or Device_Error and of course Storage_Error and Program_Error (if there are elaboration problems). In practice, I think it's safe to ignore that possibility. Randy.