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
关键词
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] Exception handling with resumption: Design and implementation in Java']Java
    Gruler, A
    Heinlein, C
    PLC '05: Proceedings of the 2005 International Conference on Programming Languages and Compilers, 2005, : 165 - 171
  • [22] EDO: Exception-directed optimization in Java']Java
    Ogasawara, T
    Komatsu, H
    Nakatani, T
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2006, 28 (01): : 70 - 105
  • [23] JET: Exception Checking in the Java']Java Native Interface
    Li, Siliang
    Tan, Gang
    OOPSLA 11: PROCEEDINGS OF THE 2011 ACM INTERNATIONAL CONFERENCE ON OBJECT ORIENTED PROGRAMMING SYSTEMS LANGUAGES AND APPLICATIONS, 2011, : 345 - 357
  • [24] Exception Handling Mechanism in Communicating Threads for Java']Java
    Hilderink, Gerald H.
    COMMUNICATION PROCESS ARCHITECTURES 2005, 2005, 63 : 317 - 334
  • [25] On the visualization of Java']Java programs
    Eichelberger, H
    von Gudenberg, JW
    SOFTWARE VISUALIZATION, 2002, 2269 : 295 - 306
  • [26] The treewidth of Java']Java programs
    Gustedt, J
    Mæhle, OA
    Telle, JA
    ALGORITHM ENGINEERING AND EXPERIMENTS, 2002, 2409 : 86 - 97
  • [27] How Developers Use Exception Handling in Java']Java?
    Asaduzzaman, Muhammad
    Ahasanuzzaman, Muhammad
    Roy, Chanchal K.
    Schneider, Kevin A.
    13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 516 - 519
  • [28] Implementation of Custom Exception and its Optimization in Java']Java
    Anurag
    Akariksha
    Saxena, Ankur
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1237 - 1242
  • [29] Exception handling: A field study in Java']Java and NET
    Cabral, Bruno
    Marques, Paulo
    ECOOP 2007 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2007, 4609 : 151 - +
  • [30] JET: Exception Checking in the Java']Java Native Interface
    Li, Siliang
    Tan, Gang
    ACM SIGPLAN NOTICES, 2011, 46 (10) : 345 - 357