From: tmoran@acm.org
Subject: Re: To raise an exception in task and handle/catch it in outer-block.
Date: Sat, 03 Jan 2004 22:03:38 GMT
Date: 2004-01-03T22:03:38+00:00 [thread overview]
Message-ID: <Z_GJb.739626$Fm2.662614@attbi_s04> (raw)
In-Reply-To: D3GJb.279$Mb5.5088@news2.e.nsc.no
Personally, I would find it somewhat clearer to enclose the stuff that
may have/handle exceptions in a block of its own, rather than the task's
begin-end block. That makes it clearer that exception handling has
nothing to do with whether the task finishes up with an "accept Stop" etc.
task body A_Task is
begin
begin
do stuff
exception
when others => do stuff
end;
accept Stop...
end A_Task;
next prev parent reply other threads:[~2004-01-03 22:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-04 5:58 To raise an exception in task and handle/catch it in outer-block Frank
2004-01-03 22:03 ` tmoran [this message]
2004-01-04 20:58 ` Frank
2004-01-04 20:35 ` tmoran
2004-01-07 3:48 ` Frank
2004-01-10 2:20 ` Craig Carey
2004-01-10 6:24 ` Robert I. Eachus
2004-01-10 21:05 ` Frank
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox