Exception Handling - Carnegie Mellon University
Exception Handling
18-849b Dependable Embedded Systems
Charles P. Shelton
March 9, 1999
Required Reading:
Romanovsky, Alexander; Xiu, Jie; Randell, Brian;
Exception Handling in Object-Oriented Real-Time Distributed
Systems
Overview: Exception Handling
¡ô
¡ô
Introduction
Key concepts
? Known versus Unknown exceptions
? Forward and Backward error recovery
? Robust Exception Handling versus Real-Time System Constraints
¡ô
Tools / techniques
? Dependability Cases
? Xept
¡ô
Metrics
? Ballista
¡ô
¡ô
Relationship to other topics
Conclusions & future work
2
YOU ARE HERE
¡ô
Exception Handling is a method of achieving
Robustness:
ROBUSTNESS
Fault
Injection
Exception
Handling
3
VERIFICATION/
VALIDATION/
CERTIFICATION
Introduction: Exception Handling
¡ô
Exception Handling is the method of building a system
to detect and recover from exceptional conditions
? Instances of things occurring outside the specifications of normal
operation
? Incorrect input
? Memory/Data corruption
? Software defects
? Environmental anomalies, etc.
¡ô
Exception failures are estimated to
account for up to 2/3 of system crashes
and 50% of security vulnerabilities
4
Known versus Unknown Exceptions
¡ô
Known exceptions
? Exception handlers can be written for exceptional conditions the
designers know are likely to occur
? Code reviews, walkthroughs, and testing can illuminate more
conditions that can be accounted for
? e.g. checking for null pointers, validating inputs to modules,
assuring files exist before attempting to read/write to them, etc.
¡ô
Unknown exceptions
? Designers cannot achieve complete coverage
of all exceptional conditions
? What about complex situations no one could
anticipate?
? Build in graceful degradation to exception handlers to minimize
damage
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- peculiarities versus exceptions the shaping of the american
- accessibility law aba and ada differences national institutes of health
- exceptions and modifications versus variances a code standard or
- matching the relationship between purchasing and ap powerpoints
- design exceptions and design variance process guide
- itar exemptions vs ear license exceptions
- clinical quality emeasure logic and implementation guidance v1
- 2021 uds clinical measures exclusions and exceptions
- zoning versus special exceptions san antonio
- evidence mnemonics pieper bar review
Related searches
- cash handling procedures template
- cash handling policy and procedures
- data classification and handling policy
- basic cash handling procedures
- cash handling procedures best practices
- quality material handling inc
- restaurant cash handling policy template
- warehouse material handling procedures
- material handling procedures samples
- manual materials handling procedures
- cash handling procedure manual
- carnegie rankings for universities