Issue No. 05 - May (1992 vol. 18)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.135772
<p>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.</p>
programming languages; normal algorithmic processing; error processing; control features; source text; data objects; declarations; data-oriented exception handling; Ada programs; Ada; data structures; programming
J. Gannon and Q. Cui, "Data-Oriented Exception Handling," in IEEE Transactions on Software Engineering, vol. 18, no. , pp. 393-401, 1992.