Skip to content

Commit e311ca1

Browse files
author
Colin Robertson
committed
Add missing descriptions
1 parent 738808a commit e311ca1

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

docs/build/exception-handling-x64.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "x64 exception handling"
3+
description: "Overview of Microsoft C++ exception handling conventions on x64."
34
ms.date: "10/14/2019"
45
helpviewer_keywords: ["C++ exception handling, x64", "exception handling, x64"]
56
ms.assetid: 41fecd2d-3717-4643-b21c-65dcd2f18c93

docs/dotnet/exceptions-in-cpp-cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Exceptions in C++/CLI"
3+
description: "Link aggregation page for Microsoft C++/CLI exception handling articles."
34
ms.date: "11/04/2016"
45
ms.assetid: 0010e205-4487-49a9-a8db-4a8ec63cfc83
56
---

docs/dotnet/how-to-catch-exceptions-in-native-code-thrown-from-msil.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
2-
title: "How to: Catch Exceptions in Native Code Thrown from MSIL"
2+
title: "How to: Catch exceptions in native code thrown from MSIL"
3+
description: "Examples of how to catch exceptions in native code thrown from MSIL."
34
ms.date: "11/04/2016"
45
helpviewer_keywords: ["exceptions, catching", "catching exceptions, thrown from MSIL", "MSIL, catching exceptions in native code"]
56
ms.assetid: c15afd2b-8505-43bf-8a4a-f1d41532a124
67
---
7-
# How to: Catch Exceptions in Native Code Thrown from MSIL
8+
# How to: Catch exceptions in native code thrown from MSIL
89

910
In native code, you can catch native C++ exception from MSIL. You can catch CLR exceptions with **`__try`** and **`__except`**.
1011

1112
For more information, see [Structured Exception Handling (C/C++)](../cpp/structured-exception-handling-c-cpp.md) and [Modern C++ best practices for exceptions and error handling](../cpp/errors-and-exception-handling-modern-cpp.md).
1213

13-
## Example
14+
## Example 1
1415

1516
The following sample defines a module with two functions, one that throws a native exception, and another that throws an MSIL exception.
1617

@@ -26,7 +27,7 @@ void Test2() {
2627
}
2728
```
2829

29-
## Example
30+
## Example 2
3031

3132
The following sample defines a module that catches a native and MSIL exception.
3233

@@ -70,4 +71,4 @@ caught an exception
7071

7172
## See also
7273

73-
[Exception Handling](../extensions/exception-handling-cpp-component-extensions.md)
74+
[Exception handling](../extensions/exception-handling-cpp-component-extensions.md)

docs/error-messages/compiler-errors-2/compiler-error-c2705.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
---
22
title: "Compiler Error C2705"
3-
ms.date: "11/04/2016"
3+
description: "Describes Microsoft C/C++ compiler error C2705."
4+
ms.date: 08/25/2020
45
f1_keywords: ["C2705"]
56
helpviewer_keywords: ["C2705"]
67
ms.assetid: 29249ea3-4ea7-4105-944b-bdb83e8d6852
78
---
89
# Compiler Error C2705
910

10-
'label' : illegal jump into 'exception handler block' scope
11+
> '*label*' : illegal jump into 'exception handler block' scope
1112
12-
Execution jumps to a label within a **`try`**/**`catch`**, **`__try`**/**`__except`**, **`__try`**/**`__finally`** block. For more information, see [Exception Handling](../../cpp/exception-handling-in-visual-cpp.md).
13+
## Remarks
14+
15+
Execution jumps to a label within a **`try`**/**`catch`**, **`__try`**/**`__except`**, or **`__try`**/**`__finally`** block. The compiler doesn't allow this behavior. For more information, see [Exception handling](../../cpp/exception-handling-in-visual-cpp.md).
16+
17+
## Example
1318

1419
The following sample generates C2705:
1520

0 commit comments

Comments
 (0)