Published August 28, 2007 | Version v1
Journal article Open

Improving Program Correctness with Atomic Exception Handling

  • 1. University of Neuchâtel, Neuchâtel, Switzerland

Description

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.

Files

jucs_article_28836.pdf

Files (209.0 kB)

Name Size Download all
md5:3985567d55ca713c1f6a41b1cc67e8e2
209.0 kB Preview Download