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 条
  • [1] A transactional model for automatic exception handling
    CISUC, Department of Informatics Engineering, University of Coimbra, Polo 2 da Universidade de Coimbra, 3030-290 Coimbra, Portugal
    Comput. Lang. Syst. Struct., 1600, 1 (43-61):
  • [2] A transactional model for automatic exception handling
    Cabral, Bruno
    Marques, Paulo
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2011, 37 (01) : 43 - 61
  • [3] A Formal Model for Exception Handling in BPEL Process
    Jiang Caoqing
    Ying Shi
    Hu Shanming
    Xu Hui
    Qiang Yueming
    PROCEEDINGS OF 2012 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2012), 2012, : 2072 - 2077
  • [4] Exception handling: An architecture model and utility support
    Cheng, YC
    Chen, CT
    Jwo, JS
    12TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2005, : 359 - 366
  • [5] The guardian model for exception handling in distributed systems
    Miller, R
    Tripathi, A
    21ST IEEE SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, PROCEEDINGS, 2002, : 304 - 313
  • [6] A Formal Architectural Model for Exception Handling Coordination
    Pereira, David P.
    de Melo, Ana C. V.
    APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 114 - 118
  • [7] Exception handling
    Buhr, PA
    Harji, A
    Mok, WYR
    ADVANCES IN COMPUTERS, VOL 56, 2002, 56 : 245 - 303
  • [8] Exception handling model with influence factors for distributed systems
    Kaczmarek, PL
    Krawczyk, H
    PARALLEL PROCESSING AND APPLIED MATHEMATICS, 2004, 3019 : 306 - 313
  • [9] The guardian model and primitives for exception handling in distributed systems
    Miller, R
    Tripathi, A
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (12) : 1008 - 1022
  • [10] EXCEPTION HANDLING IN ROBOTICS
    COX, IJ
    GEHANI, NH
    COMPUTER, 1989, 22 (03) : 43 - 49