Share via


Exception Handling

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

An exception is an abnormal situation that happens while a program is running. Exceptions are often indications of problems that you need to debug.

The kernel debugger recognizes many types of exceptions. These include Windows Embedded CE exceptions, C++ exceptions, common language runtime exceptions, Win32 exceptions, and native run-time checks.

Some types of exceptions, such as C++ exceptions, have handlers. Handlers are pieces of code that respond to an exception when it occurs, giving the program a chance to recover from the abnormal situation. C run-time errors do not have handlers.

In This Section