Announcements and Reminders
|
||
RecordingException Handling
Error
handling
Organized and consistent Fault tolerant processing
Previous MethodsExample 10-1 - The assert macro Exception Handling BasicsExample 10-3 - try, throw, catch Example 10-4 - Handling a file open error Example 10-5 - Where to throw, where to catch Example 10-6 - Throwing and catching more than one type Example 10-7 - Unhandled exceptions Example 10-8 - How to catch anything Example 10-9 - Exception handling classes Example 10-10 - Use a class to access different values that may be thrown Example 10-11 - set_terminate()
Example 10-14 - Re-throwing a throw Example 10-15 - Unwinding the stack Example 10-16 - Standard Exceptions (comment added about bad_cast exception added 2/4) Exception Handling - loose ends
|