CPSC 421 OOP std::exception Hierarchy

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