Analyzing exception flow in Java']Java™ programs

被引:0
|
作者
Robillard, MP [1 ]
Murphy, GC [1 ]
机构
[1] Univ British Columbia, Dept Comp Sci, Vancouver, BC V6T 1Z4, Canada
来源
SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS | 1999年 / 1687卷
关键词
exception handling; software analysis; object-oriented programming languages; software engineering tool;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Exception handling mechanisms provided by programming languages are intended to ease the difficulty of developing robust software systems. Using these mechanisms, a software developer can describe the exceptional conditions a module might raise, and the response of the module to exceptional conditions that may occur as it is executing. Creating a robust system from such a localized view requires a developer to reason about the flow of exceptions across modules. The use of unchecked exceptions, and in object-oriented languages, subsumption, makes it difficult for a software developer to perform thus reasoning manually. In this paper, we describe a tool called Jex that analyzes the flow of exceptions in Java code to produce views of the exception structure. We demonstrate how Jex can help a developer identify program points where exceptions are caught accidentally, where there is an opportunity to add finer-grained recovery code, and where error-handling policies are not being followed.
引用
收藏
页码:322 / 337
页数:16
相关论文
共 50 条
  • [21] EA COMPARATIVE REVIEW OF EXCEPTION HANDLING IN ADA 95, C++, AND JAVA']JAVA
    Molki, Arman
    EDULEARN10: INTERNATIONAL CONFERENCE ON EDUCATION AND NEW LEARNING TECHNOLOGIES, 2010,
  • [22] A practical method for specification and analysis of exception handling -: A Java']Java/JVM case study
    Börger, E
    Schulte, W
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (09) : 872 - 887
  • [23] Efficient exception handling in Java']Java bytecode-to-C ahead-of-time compiler for embedded systems
    Jung, Dong-Heon
    Park, JongKuk
    Bae, Sung-Hwan
    Lee, Jaemok
    Moon, Soo-Mook
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2008, 34 (04) : 170 - 183
  • [24] Identification and Refactoring of Exception Handling Code Smells in Java']JavaScript
    Hsieh, Chin-Yun
    Canh Le My
    Kim Thoa Ho
    Cheng, Yu Chin
    JOURNAL OF INTERNET TECHNOLOGY, 2017, 18 (06): : 1461 - 1471
  • [25] An approach to analyzing recursive programs with exception handling constructs
    Jiang, Shujuan
    Xu, Baowen
    Shi, Liang
    ACM SIGPLAN NOTICES, 2006, 41 (04) : 30 - 35
  • [26] Students' Misconceptions of Java']Java Exceptions
    Rashkovits, Rami
    Lavy, Ilana
    KNOWLEDGE AND TECHNOLOGIES IN INNOVATIVE INFORMATION SYSTEMS, 2012, 129 : 1 - 21
  • [27] On the prediction of Java']Java object lifetimes
    Inoue, Hajime
    Stefanovic, Darko
    Forrest, Stephanie
    IEEE TRANSACTIONS ON COMPUTERS, 2006, 55 (07) : 880 - 892
  • [28] Testing Java']Java Exceptions: an instrumentation technique
    Martins, Alexandre L.
    Hanazumi, Simone
    de Melo, Ana C. V.
    2014 38TH ANNUAL IEEE INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSACW 2014), 2014, : 626 - 631
  • [29] A robust framework for building Java']Java applications
    Jwo, JS
    Cheng, HM
    COMPUTER SCIENCE AND TECHNOLOGY IN NEW CENTURY, 2001, : 506 - 510
  • [30] Hoare logic for Java']Java in Isabelle/HOL
    von Oheimb, D
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2001, 13 (13): : 1173 - 1213