Concept Flow - Why exceptions occur
Start Program
Execute Code
Error Occurs?
No→Continue Execution
Yes
Raise Exception
Handle Exception?
No→Program Stops
Yes
Run Exception Handler
Continue or Stop
The program runs code, if an error happens, an exception is raised. If handled, the program continues; if not, it stops.