| title |
<exception> | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| f1_keywords |
<exception> |
std::<exception> |
std.<exception> |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
28900768-5dd7-4834-b907-5e37ab3407db |
| caps.latest.revision |
20 |
| author |
corob-msft |
| ms.author |
corob |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Defines several types and functions related to the handling of exceptions. Exception handling is used in situations in which the system can recover from an error. It provides a means for control to be returned from a function to the program. The objective of incorporating exception handling is to increase the program's robustness while providing a way to recover from an error in an orderly fashion.
|
|
| exception_ptr |
A type that describes a pointer to an exception. |
| terminate_handler |
A type that describes a pointer to a function suitable for use as a terminate_handler. |
| unexpected_handler |
A type that describes a pointer to a function suitable for use as an unexpected_handler. |
|
|
| bad_exception Class |
The class describes an exception that can be thrown from an unexpected_handler. |
| exception Class |
The class serves as the base class for all exceptions thrown by certain expressions and by the C++ Standard Library. |
Header Files Reference
Thread Safety in the C++ Standard Library