mr peanut wrote:
[...]
If I use this approach will I then need to have a try catch block in each of
the parent procedures?
That depends on what your intent for the code's behavior is. You
haven't been very specific about what it is exactly you're trying to do,
so it's very difficult to offer any specific advice.
Your previous post seems to imply that you do not want the "parent"
method to continue executing, so based on that I'd say no, you would not
want to catch the exception in the "parent" method.
Now, whether you want an exception handler in the code that calls the
"parent" method, I can't say. It really depends on what exactly it is
you are trying to accomplish. But generally speaking, if you want a
section of code to stop executing, execution still has to resume
_somewhere_, or else the thread that's currently executing has to itself
exit.
Without knowing exactly how you want your code flow to be adjusted
according to the error, I can't really say what the best way to do that is.
Pete