Exception Handling Tasks

OverviewFAQDetails

When exceptional conditions occur in your program, be ready for them by supplying exception handlers. Visual C++ supplies three different mechanisms for handling exceptions. For guidance on which exception handling mechanism to use, see the overview.

The following categories of tasks are listed in this topic:

  • General Exception Tasks

  • MFC Exception Tasks

  • C++ Exception Tasks

  • Structured Exception Handling Tasks

What do you want to do?

General Exception Tasks

MFC Exception Tasks

C++ Exception Tasks

Note   These tasks apply also to MFC.

Structured Exception Handling Tasks