Re: PL/SQL: exception handling
From: Peter Mapson <mapsonp_at_ois.com.au>
Date: 1996/03/02
Message-ID: <4h961i$4h4_at_eagle.ois.com.au>#1/1
Date: 1996/03/02
Message-ID: <4h961i$4h4_at_eagle.ois.com.au>#1/1
begin
if x = 1 then
-- section 1 body
end if ;
end ;
begin
if x = 2 then
-- section 2 body
end if ;
end ;
-- and so on for each section
exception
when others then
-- define your global exception handler
-- for all 5 blocks here
end ;
- if the exception handler fires, you'll end up here, and just
- loop around and execute the next section end loop ; end ;
