Concept Flow - Raising exceptions
Start
Check condition
Yes
Raise exception
Exception propagates
Handle exception or crash
No
Continue normal flow
End
The program checks a condition, raises an exception if true, then the exception moves up until handled or program stops.