The Community for Technology Leaders
Green Image
Issue No. 05 - May (1992 vol. 18)
ISSN: 0098-5589
pp: 393-401
ABSTRACT
<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>
INDEX TERMS
programming languages; normal algorithmic processing; error processing; control features; source text; data objects; declarations; data-oriented exception handling; Ada programs; Ada; data structures; programming
CITATION
J. Gannon, Q. Cui, "Data-Oriented Exception Handling", IEEE Transactions on Software Engineering, vol. 18, no. , pp. 393-401, May 1992, doi:10.1109/32.135772
107 ms
(Ver )