Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Exception Handling Routines

Use the C++ exception-handling functions to recover from unexpected events during program execution.

Exception-Handling Functions

Function Use
_set_se_translator Handle Win32 exceptions (C structured exceptions) as C++ typed exceptions
set_terminate Install your own termination routine to be called by terminate
set_unexpected Install your own termination function to be called by unexpected
terminate Called automatically under certain circumstances after exception is thrown. The terminate function calls abort or a function you specify using set_terminate
unexpected Calls terminate or a function you specify using set_unexpected. The unexpected function is not used in current Microsoft C++ exception-handling implementation

See Also

Run-Time Routines by Category | Run-Time Routines and .NET Framework Equivalents

Show:
© 2015 Microsoft