title | description | ms.date | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|
Restrictions on exception handlers |
Describes the restrictions on jumping into structured exception handling blocks. |
08/24/2020 |
|
31d63524-0e8c-419f-b87c-061f4c0ea470 |
The principal limitation to using exception handlers in code is that you can't use a goto
statement to jump into a __try
statement block. Instead, you must enter the statement block through normal flow of control. You can jump out of a __try
statement block, and you can nest exception handlers as you choose.
Writing an exception handler
Structured Exception Handling (C/C++)