O'Reilly logo

Mastering LOB Development for Silverlight 5: A Case Study in Action by Rocío Serrano, Braulio Díez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the exception types

Eric Lippert made a very good summary about the different kinds of exceptions that can occur, at his blog http://bit.ly/d2cOZ4. We think this a good starting point for this part of the chapter.

Fatal exception

Fatal exceptions cannot be handled by the developer. You cannot catch them or release your resources. They are raised from the system because your machine or process is out of memory or your hardware is defective. Do not think too much about these exceptions. Show an error message to the user and try to close your application in a safe way if possible. Use the global error event handler for this scenario.

Boneheaded exceptions

These exceptions are your own fault and you should be able to prevent or at least ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required