1.6. Exception Management

Programming for exceptions and errors is a key concept of managed execution environments. Applications can achieve predictable flow of execution as long as they execute successfully. However, this well-defined path can be disturbed in the event of an error or an exception. A good exception management service allows developers to trap these exceptions and errors and thereby streamline their processing so that the predictability of the application is maintained even when it is on the road to failure. Such a management service allows for recovery from failure and discovery of replicable error paths in the application. Knowing how an application can fail is as important as knowing how an application can execute successfully. ...

Get .NET for Java Developers: Migrating to C# 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.