multiple and nested try catch in java
An exception occurred inside the outer try block. So, the control of execution passes to the outer catch block to handle exception without execution of the inner try catch block. In the preceding code, we have defined a try-catch block inside a try block.