If a function does not handle an exception, the exception proceeds up the call stack to whatever called that function. This continues until Kotlin finds a try/catch structure that will handle this type of exception.

You can learn more about this in:
Run Edit