Nested Try Catch Block

5 minutes
Share the link to this page
Copied
  Completed
When a try catch block is present in another try block, then it is called the nested try catch block. Each time a try block does not have a catch handler for a particular exception, then the catch blocks of parent try block are inspected for that exception if the match is found that that catch block executes.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.