Concept Flow - Exception propagation
Exception occurs in method
Is exception caught here?
No→Pass exception to caller
|Yes
Handle exception
Continue normal flow
When an exception happens, Java checks if the current method handles it. If not, it passes the exception up to the caller until caught or program ends.