As the exception is definitely handled by the "when others" execution will continue after the end of inner block end. In situations when the inner exception handler cannot handle the exception, the exception directly goes to the outer block exception handler,there also it is not matching with any exception handling condition,it is escalated further. If nothing is handli.g the exception it goes the front end tool which called the procedure(may be java application) This is what they call propagation of exception or the bubble effect.
I have not practically verified it.
regards
Gopa
--
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle...@googlegroups.com
To unsubscribe from this group, send email to
Oracle-PLSQL...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en
Pl sql blocks improves readability of course. More over when you insert new code in an existing procedire,it is better to have a declare begin end block. Because the variables you declare here will be local and will not conflict with the variables with the same names n the main program .
regards
Gopa
On Nov 30, 2010 9:51 AM, "Richard Pascual" <rich...@gmail.com> wrote:
Michael: Thanks for the tip. I like the practice of naming nested pl/sql blocks as it eases readability... <<response>>a most definitely useful approach; end response;
Gopa: You may not have seen my follow up post to my original question but it seems that your findings or understanding of this "bubble effect" confirms what I discovered in the Oracle documentation. Thanks for your reply.
Rich Pascual
On Mon, Nov 29, 2010 at 7:38 PM, Gopakumar Pandarikkal <panda...@gmail.com> wrote:
>
> As the ...