First page Back Continue Last page Graphics
13.3 Other Error-Handling Techniques
Ignore exception
- Typical for personal (not commercial) software
- Program may fail
Abort program
- Usually appropriate
- Not appropriate for mission-critical software
Set error indicators
- Unfortunately, may not test for these when necessary
Test for error condition
- Call exit (<cstdlib>) and pass error code