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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,436ac666600e5ab3,start X-Google-Attributes: gid103376,public From: "NANCY HEHIR" Subject: Exception Handling Date: 2000/05/29 Message-ID: <3HCY4.29157$sB3.10828@news.indigo.ie>#1/1 X-Deja-AN: 628793227 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@eircom.net X-Trace: news.indigo.ie 959641407 159.134.245.149 (Tue, 30 May 2000 00:03:27 BST) Organization: Information Age Town NNTP-Posting-Date: Tue, 30 May 2000 00:03:27 BST Newsgroups: comp.lang.ada Date: 2000-05-29T00:00:00+00:00 List-Id: The Ada language reference manual (chapter 11) indicates that when an exception is raised the main body of code is abandoned and that if code exists for handling the exception then this is executed. Is it possible to use the exception handler to return to the main body at a point before the point where the exception is raised? For example: If I prompt for a keyboard input of ,say an eight character string, and a seven char string is actually inputted, a Constraint_Error is raised. Can I use a handling device to return the execution to the prompt for input ?