You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
11
+
Defines several standard classes used for reporting exceptions. The classes form a derivation hierarchy all derived from class [`exception`](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:
12
12
13
13
-`domain_error`
14
14
-`invalid_argument`
@@ -25,17 +25,17 @@ The run-time errors occur because of mistakes in either the library functions or
25
25
26
26
|Class|Description|
27
27
|-|-|
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.|
28
+
|[`domain_error` class](domain-error-class.md)|The class serves as the base class for all exceptions thrown to report a domain error.|
29
+
|[`invalid_argument` class](invalid-argument-class.md)|The class serves as the base class for all exceptions thrown to report an invalid argument.|
30
+
|[`length_error` class](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](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](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](overflow-error-class.md)|The class serves as the base class for all exceptions thrown to report an arithmetic overflow.|
34
+
|[`range_error` class](range-error-class.md)|The class serves as the base class for all exceptions thrown to report a range error.|
35
+
|[`runtime_error` class](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](underflow-error-class.md)|The class serves as the base class for all exceptions thrown to report an arithmetic underflow.|
0 commit comments