Java – Nested try statements

If nested try block generates an exception that cannot be handled by its catch clauses, then that exception must be handled by catch clause of the outer try block. Otherwise, JVM will provide default exception handler leading to abnormal termination of the program.