CPSC 421 OOP std::exception Hierarchy
Across
- 3. Access elements out of defined range
- 5. Errors due to events beyond the scope of the program and where the program code cannot easily predict the error
- 6. The result of a computation is a subnormal floating-point value
- 8. Arithmetic overflow errors, i.e., the result of a computation is too large for the destination type
- 9. Exceed implementation-defined length limits for some object
Down
- 1. Faulty logic within the program such as violating logical preconditions or class invariants and may be preventable
- 2. Inputs are outside of the domain defined for the operation
- 4. Argument value is not accepted
- 7. The destination type cannot represent the result of a computation