Concept Flow - Logging exceptions
Exception occurs in code
Catch exception in catch block
Log exception details
Optional: Re-throw or handle gracefully
Continue execution or exit
When an error happens, the program catches it, logs the details for review, then decides to continue or stop.