Navigating error recovery code in Java applications

  • Authors:
  • Chen Fu;Barbara G. Ryder

  • Affiliations:
  • Rutgers University, Piscataway, NJ;Rutgers University, Piscataway, NJ

  • Venue:
  • eclipse '05 Proceedings of the 2005 OOPSLA workshop on Eclipse technology eXchange
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Java provides a program-level exception handling mechanism in response to error conditions (that are translated into exceptions by Java VM). However, exception handling code is often widely scattered throughout an application and untested. This paper presents a program visualization tool ExTest that shows quite precisely all the handlers for exceptions triggered by certain kinds of operations, and for each of these handlers, all the witness paths of how the operation would be triggered. Thus, ExTest helps programmers understand the exception handling behavior of Java programs and also facilitates testing exception handling code.