Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.33 KB

exception-handling-routines.md

File metadata and controls

25 lines (20 loc) · 1.33 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Exception Handling Routines
Exception Handling Routines
11/04/2016
c.exceptions
exception handling, routines
f60548c6-850a-4e1e-a79b-a2a6a541ab62

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 isn't used in current Microsoft C++ exception-handling implementation

See also

Universal C runtime routines by category