From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Common exception handling
Date: Tue, 26 Aug 2008 17:18:59 +0200
Date: 2008-08-26T17:18:59+02:00 [thread overview]
Message-ID: <ct619g.slt.ln@hunter.axlog.fr> (raw)
In-Reply-To: <f3921f63-7e3e-409e-b346-f9a62d976f1a@x16g2000prn.googlegroups.com>
shaunpatterson@gmail.com a �crit :
> Yeah, it looks like the extra layer of exception handling is the only
> way. I was hoping I could avoid that if possible.
>
I guess this is what you want...
exception
when others =>
-- common part
...
begin
raise; -- Reraises current exception
exception
when A =>
...
when B =>
...
end;
end;
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
prev parent reply other threads:[~2008-08-26 15:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 12:17 Common exception handling shaunpatterson
2008-08-26 12:37 ` Ludovic Brenta
2008-08-26 12:39 ` Martin
2008-08-26 12:48 ` Ludovic Brenta
2008-08-26 12:58 ` Martin
2008-08-26 13:47 ` shaunpatterson
2008-08-26 14:43 ` Adam Beneschan
2008-08-26 15:10 ` Dmitry A. Kazakov
2008-08-26 16:49 ` Adam Beneschan
2008-08-26 19:14 ` Dmitry A. Kazakov
2008-08-26 20:22 ` Maciej Sobczak
2008-08-27 8:16 ` Dmitry A. Kazakov
2008-08-27 9:20 ` Georg Bauhaus
2008-08-29 8:32 ` Martin
2008-08-29 15:31 ` Adam Beneschan
2008-09-10 22:51 ` Martin
2008-09-11 14:57 ` Adam Beneschan
2008-08-26 15:18 ` Jean-Pierre Rosen [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox