Skip to content

Commit b788992

Browse files
fix double negatives (#47664)
1 parent d67c63f commit b788992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/csharp/fundamentals/exceptions/creating-and-throwing-exceptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ All exceptions contain a property named <xref:System.Exception.Message%2A>. This
3535

3636
Public and protected methods throw exceptions whenever they can't complete their intended functions. The exception class thrown is the most specific exception available that fits the error conditions. These exceptions should be documented as part of the class functionality, and derived classes or updates to the original class should retain the same behavior for backward compatibility.
3737

38-
## Things to avoid when throwing exceptions
38+
## Things to consider when throwing exceptions
3939

40-
The following list identifies practices to avoid when throwing exceptions:
40+
The following list identifies practices to consider when throwing exceptions:
4141

4242
- Don't use exceptions to change the flow of a program as part of ordinary execution. Use exceptions to report and handle error conditions.
4343
- Exceptions shouldn't be returned as a return value or parameter instead of being thrown.

0 commit comments

Comments
 (0)