Concept Flow - Try-catch execution flow
Start
Try block
Exception?
No→Continue after try
Yes
Catch block
Continue after catch
End
The program tries to run code inside the try block. If an error happens, it jumps to the catch block. Then it continues after the catch.