Exception Propagation

Home > Computer Science > Programming Languages > Exceptions and Error Handling > Exception Propagation

When an exception is thrown in a program, it is propagated through the call stack until it is caught by a handler or terminates the program. Understanding how exceptions propagate can help in better designing software that is fault-tolerant.