Appendix A. Exception Handling in .NET

The handling of exceptions and errors is critical to the development of reliable and stable applications. You may have noticed that no exception handling was included in the sample applications in this book. There are several reasons for this. First, omitting exception handling code simply makes the source a lot easier to read. Second, you might encounter new objects that we haven’t discussed yet. After you read this appendix, you should implement error handling (also known as exception management) in your applications. Efficient exception management allows developers to write reliable and robust code that helps anticipate exceptions and, in doing so, provides an opportunity to present more informative and ...

Get Graphics Programming with GDI+ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.