The document is archived and information here might be outdated


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.

#include <exception>

See Also

<exception> Members | Header Files | Thread Safety in the Standard C++ Library

© 2016 Microsoft