O'Reilly logo

Microsoft® Mobile Development Handbook by Peter Foot, Daniel Moth, Andy Wigley

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

Exception Handling: Same as the Full .NET Framework

After following the advice of the preceding section, you will have done the best you can to let the compiler find errors for you before running the application. However, no application exists without issues and bugs manifesting in two ways:

  • As logical errors where the application produces incorrect results and/or behavior (this is discussed in later sections of this chapter)

  • As exceptions that get thrown at run time

We discuss the different kinds of run-time exceptions and how to deal with them in the following sections, but first, we talk a bit about .NET exception handling.

Essentially, exception handling with the .NET Compact Framework is identical to exception handling with the full .NET Framework. ...

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