remove the word denial

This commit is contained in:
Jidong Xiao
2025-03-13 22:54:31 -04:00
committed by JamesFlare1212
parent 4e5ccd5fcb
commit a4b59701f3

View File

@@ -2,13 +2,12 @@
## Todays Lecture ## Todays Lecture
- HW7 Discussion
- Error handling strategies - Error handling strategies
- Basic exception mechanisms: try/throw/catch - Basic exception mechanisms: try/throw/catch
- Functions & exceptions, constructors & exceptions - Functions & exceptions, constructors & exceptions
- STL exceptions - STL exceptions
## 17.1 Error Handling Strategy A: Optimism (a.k.a. Na¨ıvet´e or Denial) ## 17.1 Error Handling Strategy A: Optimism
- Assume there are no errors. Command line arguments will always be proper, any specified files will always be available for read/write, the data in the files will be formatted correctly, numerical calculations will not attempt to divide by zero, etc. - Assume there are no errors. Command line arguments will always be proper, any specified files will always be available for read/write, the data in the files will be formatted correctly, numerical calculations will not attempt to divide by zero, etc.