Who is Accountable for Asynchronous Exceptions?

被引:4
作者
Morandi, Benjamin [1 ]
Nanz, Sebastian [1 ]
Meyer, Bertrand [1 ]
机构
[1] Swiss Fed Inst Technol, Chair Software Engn, Zurich, Switzerland
来源
2012 19TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), VOL 1 | 2012年
关键词
asynchronous exception; concurrent programming; SCOOP; DISTRIBUTED SYSTEMS; HANDLING MECHANISM;
D O I
10.1109/APSEC.2012.48
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Large parts of today's software systems are devoted to detecting and recovering from failures, making exception handling a critical issue in software development. Concurrent software complicates this issue: most concurrent programming languages require a mechanism to deal with asynchronous exceptions, but because of the diverse design choices underlying each language, no approach fits all situations. We introduce a classification of possible approaches to guide the development of asynchronous exception mechanisms, and we show its applicability by deriving a sound and comprehensible mechanism for SCOOP, an object-oriented programming model for concurrency. We describe the key idea of the mechanism using the accountability framework, which precisely defines the obligations of client and supplier regarding the reporting of exceptions. The framework not only provides the necessary intuition to apply the mechanism correctly, it is also useful to comprehend other approaches.
引用
收藏
页码:462 / 471
页数:10
相关论文
共 39 条
  • [1] Allen Eric., 2008, FORTRESS LANGUAGE SP
  • [2] [Anonymous], 1997, Object-oriented software construction
  • [3] [Anonymous], 2012, ERL OTP SYST DOC
  • [4] Arslan V., 2006, S CONC REAL TIM DIST, P62
  • [5] BARTETZKO D, 2001, ELECT NOTES THEORETI, V55
  • [6] Bollella Greg., 2000, REAL TIME SPECIFICAT
  • [7] Exceptions in Concurrent Eiffel
    Brooke, Phillip J.
    Paige, Richard F.
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2007, 6 (10): : 111 - 126
  • [8] Buhr P. A., 2012, MUC ANNOTATED REFERE
  • [9] Cachin C, 2011, INTRODUCTION TO RELIABLE AND SECURE DISTRIBUTED PROGRAMMING, SECOND EDITION, P1, DOI 10.1007/978-3-642-15260-3
  • [10] ERROR RECOVERY IN ASYNCHRONOUS SYSTEMS
    CAMPBELL, RH
    RANDELL, B
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (08) : 811 - 826