Skip to content

Commit 87e714a

Browse files
authored
Compact unordered lists and remove capitalization of "Class" in <stdexcept> header reference
1 parent 7760f6f commit 87e714a

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

docs/standard-library/stdexcept.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,29 @@ ms.assetid: 495c10b1-1e60-4514-9f8f-7fda11a2f522
1111
Defines several standard classes used for reporting exceptions. The classes form a derivation hierarchy all derived from class [`exception`](../standard-library/exception-class.md) and include two general types of exceptions: logical errors and run-time errors. The logical errors are caused by programmer mistakes. They derive from the base class `logic_error` and include:
1212

1313
- `domain_error`
14-
1514
- `invalid_argument`
16-
1715
- `length_error`
18-
1916
- `out_of_range`
2017

2118
The run-time errors occur because of mistakes in either the library functions or in the run-time system. They derive from the base class `runtime_error` and include:
2219

2320
- `overflow_error`
24-
2521
- `range_error`
26-
2722
- `underflow_error`
2823

2924
### Classes
3025

3126
|Class|Description|
3227
|-|-|
33-
|[`domain_error` Class](../standard-library/domain-error-class.md)|The class serves as the base class for all exceptions thrown to report a domain error.|
34-
|[`invalid_argument` Class](../standard-library/invalid-argument-class.md)|The class serves as the base class for all exceptions thrown to report an invalid argument.|
35-
|[`length_error` Class](../standard-library/length-error-class.md)|The class serves as the base class for all exceptions thrown to report an attempt to generate an object too long to be specified.|
36-
|[`logic_error` Class](../standard-library/logic-error-class.md)|The class serves as the base class for all exceptions thrown to report errors presumably detectable before the program executes, such as violations of logical preconditions.|
37-
|[`out_of_range` Class](../standard-library/out-of-range-class.md)|The class serves as the base class for all exceptions thrown to report an argument that is out of its valid range.|
38-
|[`overflow_error` Class](../standard-library/overflow-error-class.md)|The class serves as the base class for all exceptions thrown to report an arithmetic overflow.|
39-
|[`range_error` Class](../standard-library/range-error-class.md)|The class serves as the base class for all exceptions thrown to report a range error.|
40-
|[`runtime_error` Class](../standard-library/runtime-error-class.md)|The class serves as the base class for all exceptions thrown to report errors presumably detectable only when the program executes.|
41-
|[`underflow_error` Class](../standard-library/underflow-error-class.md)|The class serves as the base class for all exceptions thrown to report an arithmetic underflow.|
28+
|[`domain_error` class](../standard-library/domain-error-class.md)|The class serves as the base class for all exceptions thrown to report a domain error.|
29+
|[`invalid_argument` class](../standard-library/invalid-argument-class.md)|The class serves as the base class for all exceptions thrown to report an invalid argument.|
30+
|[`length_error` class](../standard-library/length-error-class.md)|The class serves as the base class for all exceptions thrown to report an attempt to generate an object too long to be specified.|
31+
|[`logic_error` class](../standard-library/logic-error-class.md)|The class serves as the base class for all exceptions thrown to report errors presumably detectable before the program executes, such as violations of logical preconditions.|
32+
|[`out_of_range` class](../standard-library/out-of-range-class.md)|The class serves as the base class for all exceptions thrown to report an argument that is out of its valid range.|
33+
|[`overflow_error` class](../standard-library/overflow-error-class.md)|The class serves as the base class for all exceptions thrown to report an arithmetic overflow.|
34+
|[`range_error` class](../standard-library/range-error-class.md)|The class serves as the base class for all exceptions thrown to report a range error.|
35+
|[`runtime_error` class](../standard-library/runtime-error-class.md)|The class serves as the base class for all exceptions thrown to report errors presumably detectable only when the program executes.|
36+
|[`underflow_error` class](../standard-library/underflow-error-class.md)|The class serves as the base class for all exceptions thrown to report an arithmetic underflow.|
4237

4338
## See also
4439

0 commit comments

Comments
 (0)