Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: NO_DATA_FOUND exception
"-={Giorgio}=-" <leva.md3496_at_mclink.it> wrote in message news:bjvm8m$14tp$1_at_newsreader2.mclink.it...
> >>BEGIN
> >
> > begin
> [...]
> [...]
> [...]
> > Exceptions should propagate to the caller until they find > a handler... in this case having another block for the > exception make the code a bit cleaner but it's not relevant > for the exception itself.
But there is no way of knowing exactly where the exception started from, unless you add code. This blocking also makes it bullet proof against any change in behaviour or bugs. I like to start from "defensive" programming and progress to find the problem. It's a lot easier. ;)
-- Cheers Nuno Souto wizofoz2k_at_yahoo.com.au.nospamReceived on Sat Sep 13 2003 - 21:02:20 CDT