Discussions on Exception Handling
Teacher starts the discussion: In general, when we write code for an application, we have the expectation that it will always execute without any problem. But sometimes, we encounter sudden surprises when we execute those programs. These surprises may occur in various ways and through some careless mistakes (e.g., trying to implement the wrong logic, or ignoring some loopholes in the code paths of the program, etc.) However, it is also true that many of the failures are beyond the control of a programmer. We often call these unwanted situations ...