Objective 5.1: Design for Error Handling
Using an effective exception handling strategy maximizes code readability, simplifies troubleshooting, and minimizes security risks. This objective provides an overview of configuring exception handling for Microsoft Windows applications.
Designing an Exception Handling Strategy
Although a bug in your application might cause an exception, exceptions themselves are not bugs. In fact, a well-designed application intentionally throws exceptions when required resources cannot be found, when users make unauthorized requests, and when the server cannot process additional requests.