Another thing most exception systems get wrong is encouraging too coarse a granularity of handling errors. Proponents of return codes love that error handling is localized to a specific function call. The try block detects and throws any found exceptions to the catch blocks, which then handles them. Switch all equipment off, and then on…