English
Language : 

TL32 Datasheet, PDF (12/31 Pages) List of Unclassifed Manufacturers – Real Time System Testing MIT 16.070 Lecture 32
Exception Handling Methods - The Tradeoff
• On the one hand, exception handling can guard against problems such
as:
– Erroneous mathematical conditions (divide by zero, overflow)
– Tasks that hang waiting for inputs that will never come (due to
failed hardware, poor communication link, software bug etc.)
– Poor reactions to missed deadlines
• On the other hand, putting in all of this exception handling takes up
resources (CPU time and memory) that must be worth the trade-off
• You must balance the two to achieve a robust software design that
works within the timing and sizing constraints of the system
hperry
5/4/01