Improving program correctness with atomic exception handling

Christof Fetzer & Pascal Felber

Résumé Exception handling is a powerful mechanisms for dealing with failures at runtime. It simplifies the development of robust programs by allowing the programmer to implement recovery actions and tolerate non-fatal errors. Yet, exception handling is difficult to get right! The complexity of correct exception handling is a major cause for incorrect exception handling. It is therefore important to reduce the complexity of writing exception handling code while, at the same time, making sure it is correct. Our approach is to use atomic blocks for exception handling combined with optional compensation actions.
Mots-clés exception handling, transactional memory
Citation C. Fetzer and P. Felber, "Improving program correctness with atomic exception handling," in Dagstuhl Seminar on Atomicity in Computer Science, Dagstuhl Castle, GERMANY, 2006, p. 1047-1072.
Type Actes de congrès (Anglais)
Nom de la conférence Dagstuhl Seminar on Atomicity in Computer Science (Dagstuhl Castle, GERMANY)
Date de la conférence 2006
Editeur commercial Graz Univ Technolgoy, Inst Information Systems Computer Media-Iicm
Pages 1047-1072