C++ Exception Handling
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

C++ Exception Handling

Visual Studio .NET 2003

Exceptions are run-time anomalies, such as division by zero, that require immediate handling when encountered by your program. The C++ language provides built-in support for raising and handling exceptions. With C++ exception handling, your program can communicate unexpected events to a higher execution context that is better able to recover from such abnormal events. These exceptions are handled by code that is outside the normal flow of control.

For more information, see C++ Exception Handling in the C++ Language Reference.

See Also

Exception Handling

© 2016 Microsoft