comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Handling exceptions -- hiding exceptions from calling code
Date: Sun, 07 Aug 2005 02:28:38 -0500
Date: 2005-08-07T02:28:38-05:00	[thread overview]
Message-ID: <I7mdnZ2dnZ1Hx5GKnZ2dnbslaN-dnZ2dRVn-zp2dnZ0@comcast.com> (raw)
In-Reply-To: m3hde2i5r7.fsf@rr.trudgett

 loop
   begin
     Get(Move);
     exit;
   exception
     when ...
       put("...");
       skip_line; -- toss any other garbage on that bad line
   end;
 end loop;
 skip_line;  -- on to the next thing

>because of the scope for infinite recursion:
   only if your user has infinite stubborness.



  reply	other threads:[~2005-08-07  7:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07  7:08 Handling exceptions -- hiding exceptions from calling code David Trudgett
2005-08-07  7:28 ` tmoran [this message]
2005-08-07  9:20   ` David Trudgett
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox