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,79bbf7e359159d0d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-04 21:34:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!ihnp4.ucsd.edu!newshost.nmt.edu!not-for-mail From: Jeff Shipman Newsgroups: comp.lang.ada Subject: Re: newbie can't get exceptions to work! Date: Wed, 04 Apr 2001 22:34:53 -0600 Organization: New Mexico Institute of Mining and Technology Message-ID: <3ACBF5ED.ED896160@nmt.edu> References: <3ACBE436.4B247767@nmt.edu> NNTP-Posting-Host: grissom-48.nmt.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newshost.nmt.edu 986445172 36479 129.138.5.218 (5 Apr 2001 04:32:52 GMT) X-Complaints-To: usenet@nmt.edu NNTP-Posting-Date: Thu, 5 Apr 2001 04:32:52 +0000 (UTC) X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.0 i686) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:6492 Date: 2001-04-04T22:34:53-06:00 List-Id: > -- Handle exceptions > exception > when STACK_ERROR => > begin > put_line("Error: Stack underflow/overflow"); > end; > Ok...I figured it out. I needed to specify the type of stack that I'm catching the error for. e.g. DAY_STACK.STACK_ERROR, etc. -- Jeff "Shippy" Shipman E-Mail: shippy@nmt.edu Computer Science Major ICQ: 1786493 New Mexico Institute of Mining and Technology Homepage: http://www.nmt.edu/~shippy