Slide 6
Slide 6 text
Kinds of failure
2. Logical failures
• Failure cannot be recovered from.
• Should not attempt recovery - what state will your program
be in?
• Recovering from these make program less stable, less
secure etc
• For example, array index out of bounds, buffer overflow.
• Handled with assertions and NSException in Cocoa.