When an exception occurs and isn't caught in the method where it was thrown, Java automatically propagates the exception up the call stack to the method that called it. This continues until a method is found that catches the exception or until it reaches the top of the call stack, which may cause the program to terminate. In an e-commerce scenario, if a `PaymentProcessingException` isn't caught in the payment method, it might propagate to the checkout method, which could handle it by logging the error and notifying the user.
Additional Notes
How does Java handle exceptions that aren’t caught in the same method?