A predictive model for exception handling

被引:1
|
作者
Lourenco, Joao Ricardo [1 ]
Cabral, Bruno [1 ]
Bernardino, Jorge [1 ,2 ]
机构
[1] Univ Coimbra, FCTUC, CISUC Ctr Informat & Syst, P-3030290 Coimbra, Portugal
[2] Polytech Inst Coimbra, ISEC, P-3030190 Coimbra, Portugal
关键词
Exception Handling; Online Failure Prediction; Self-Healing;
D O I
10.1007/978-3-319-31232-3_72
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The exception handling mechanism has been one of the most used reliability tools in programming languages for over four decades. Nearly all modern languages have some form of "try-catch" model for exception handling and encourage its use. Nevertheless, this model has not seen significant change, even in the face of new challenges, such as concurrent programming and the advent of reactive programming. As it stands, the current model is reactive, rather than proactive exceptions are raised, caught, and handled. We propose an alternative exception handling model - PreX - where exceptions are no longer caught but, rather, predicted and prevented. Online Failure Prediction techniques generally work at a very high level, showing potential for prediction of program crashes. However, these techniques have never been at the hands of the programmers as an effective tool to improve software quality. By applying recent advances in Online Failure Prediction, PreX aims to fully prevent exceptions, bringing failure prediction techniques to a much more fine-grained level that the programmer can control. Predicting exceptions enables a range of preventive measures that enhance the reliability and robustness of a system, offering new revitalization strategies to developers.
引用
收藏
页码:767 / 776
页数:10
相关论文
共 50 条
  • [31] Improving Exception Handling with Recommendations
    Barbosa, Eiji Adachi
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 666 - 669
  • [32] Demonstrating Exception Handling in JaCaMo
    Baldoni, Matteo
    Baroglio, Cristina
    Boissier, Olivier
    Micalizio, Roberto
    Tedeschi, Stefano
    ADVANCES IN PRACTICAL APPLICATIONS OF AGENTS, MULTI-AGENT SYSTEMS, AND SOCIAL GOOD: THE PAAMS COLLECTION, PAAMS 2021, 2021, 12946 : 341 - 345
  • [33] An exception-handling framework
    Visser, A.
    International Journal of Computer Integrated Manufacturing, 8 (03):
  • [34] NTS STRUCTURED EXCEPTION HANDLING
    NIEZGODA, S
    HOLT, L
    WOJCIECH, D
    BYTE, 1993, 18 (12): : 317 - &
  • [35] THE MACH EXCEPTION HANDLING FACILITY
    BLACK, DL
    GOLUB, DB
    HAUTH, K
    TEVANIAN, A
    SANZI, R
    SIGPLAN NOTICES, 1989, 24 (01): : 45 - 56
  • [36] EXCEPTION HANDLING FOR C++
    KOENIG, A
    STROUSTRUP, B
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1990, 3 (02): : 16 - &
  • [37] Advanced exception handling mechanisms
    Buhr, PA
    Mok, WYR
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (09) : 820 - 836
  • [38] Code Recommendation for Exception Handling
    Nguyen, Tam
    Vu, Phong
    Nguyen, Tung
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1027 - 1038
  • [39] C++ EXCEPTION HANDLING
    STEVENS, A
    DR DOBBS JOURNAL, 1993, 18 (09): : 105 - +
  • [40] AN EXCEPTION-HANDLING FRAMEWORK
    VISSER, A
    INTERNATIONAL JOURNAL OF COMPUTER INTEGRATED MANUFACTURING, 1995, 8 (03) : 197 - 203