Hi guys,
Recently I've been doing some modification on someone else's class, which I'm adding further methods. The point is, in my new class, I put Try..Catch() while inside is calling the "old" class method which inside has it's own Try..Catch(). I found out if there is error on the "inner" class, the error "catch" over there, and in upper class will not get error catch again. Is that true ?
How is the better approach of this ? I mean in that upper class, I may need to have error procedure also, if the inner class has error, for example I have a Log table that I need to insert/update inform the process failed, it feels odd to have my Log table in Catch procedure of the inner class instead.
Thanks,