Data-oriented exception handling
- 1 May 1992
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 18 (5) , 393-401
- https://doi.org/10.1109/32.135772
Abstract
Exception handling mechanisms were added to programming languages to segregate normal algorithmic processing from error processing. However, handlers which are typically associated with exceptions through a program's control features, clutter source text when features are nested or when different objects require different responses to exceptions. The authors describe a method for associating handlers with data objects in declarations that better segregates algorithmic and error processing. They call their notion data-oriented exception handling to distinguish it from more conventional, control-oriented mechanisms. Empirical studies of Ada programs indicate that conventional exception handling mechanisms are more complex than necessary and that data-oriented exception handling can be used to produce programs that are smaller, better structured, and easier to understand and modify.Keywords
This publication has 6 references indexed in Scilit:
- A modular verifiable exception handling mechanismACM Transactions on Programming Languages and Systems, 1985
- Ada exception handling: an axiomatic approachACM Transactions on Programming Languages and Systems, 1980
- Exception Handling in CLUIEEE Transactions on Software Engineering, 1979
- Rationale for the design of the Ada programming languageACM SIGPLAN Notices, 1979
- Early experience with MesaCommunications of the ACM, 1977
- Exception handlingCommunications of the ACM, 1975