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 条
  • [21] Mining exception instances to facilitate workflow exception handling
    Hwang, SY
    Ho, SF
    Tang, J
    6TH INTERNATIONAL CONFERENCE ON DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PROCEEDINGS, 1999, : 45 - 52
  • [22] Revisiting Exception Handling Practices with Exception Flow Analysis
    de Padua, Guilherme B.
    Shang, Weiyi
    2017 IEEE 17TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2017, : 11 - 20
  • [23] Exception handling for copyless messaging
    Jaksic, Svetlana
    Padovani, Luca
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 84 : 22 - 51
  • [24] Is Exception Handling a Reusable Aspect?
    Almeida, Adauto
    Barreiros, Emanoel
    Saraiva, Juliana
    Castor, Fernando
    Soares, Sergio
    2014 EIGHTH BRAZILIAN SYMPOSIUM ON SOFTWARE COMPONENTS, ARCHITECTURES AND REUSE (SBCARS), 2014, : 32 - 41
  • [25] EXCEPTION HANDLING IN PARALLEL COMPUTATIONS
    SZALAS, A
    SZCZEPANSKA, D
    SIGPLAN NOTICES, 1985, 20 (10): : 95 - 104
  • [26] Current trends in exception handling
    Perry, DE
    Romanovsky, A
    Tripathi, A
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (10) : 921 - 922
  • [27] Exception handling in workflow systems
    Luo, ZW
    Sheth, A
    Kochut, K
    Miller, J
    APPLIED INTELLIGENCE, 2000, 13 (02) : 125 - 147
  • [28] Provably Live Exception Handling
    Jacobs, Bart
    17TH WORKSHOP ON FORMAL TECHNIQUES FOR JAVA-LIKE PROGRAMS (FTFJP 2015), 2015,
  • [29] Recommending Exception Handling Code
    Tam The Nguyen
    Phong Minh Vu
    Tung Thanh Nguyen
    2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2019), 2019, : 390 - 393
  • [30] AN EXCEPTION HANDLING MECHANISM FOR SR
    HUANG, DT
    OLSSON, RA
    COMPUTER LANGUAGES, 1990, 15 (03): : 163 - 176