Trycatch,in another try catch

Why do we use trycatch with in another try catch .can anyone please explain me in detail?

When you catch an exception and try to handle it or use any activity in ‘Finally block’, then if still there’s a probability of getting an exception so you add another try and catch.

In layman language, If plan A fail then Plan B will handle it, and if Plan B also fail Plan C will handle it.

I hope you got a gist.


Thank u amritansh for ur reply.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.