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=-3.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,239b92bbdaf8d8d3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-02 03:05:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!wanadoo.fr!freenix!enst!enst.fr!not-for-mail From: maa@liacc.up.pt Newsgroups: comp.lang.ada Subject: Re: Array of exception Date: Tue, 02 Oct 2001 11:02:38 +0000 (GMT) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1002017145 1054 137.194.161.2 (2 Oct 2001 10:05:45 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 2 Oct 2001 10:05:45 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: In-Reply-To: User-Agent: IMP/PHP IMAP webmail program 2.2.5 X-Originating-IP: 192.168.1.2 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:13609 Date: 2001-10-02T11:02:38+00:00 Quoting Lutz Donnerhacke : > Is it possible to define an array of exceptions? I do not get it. > (subtype required) > . . . Package Ada.Exceptions provides "regular" types associated with exceptions viz. Exception_Id and Exception_Occurrence. Attribute 'Identity gives the Id of an exception. [Ben-Ari 1998, 11.2] shows how to save and reraise exceptions, using Exception_Occurence_Access (in a priority queue). [Ben-Ari 1998] Ada for Software Engineers / M. Ben-Ari. John Wiley & Sons, 1998. 425 p. Cheers, --MAA ------------------------------------------------- This mail sent through IMP: webmail.niaad.liacc.up.pt