Logo image
Testing and Understanding Error Recovery Code in Java Applications
Technical documentation   Open access

Testing and Understanding Error Recovery Code in Java Applications

Chen Fu and Barbara G. Ryder
Rutgers University
2005
DOI:
https://doi.org/10.7282/T3K077WK

Abstract

Server applications are expected to handle lower level faults and keep them from bringing down the whole system. 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 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.
pdf
dcs-tr-579349.09 kBDownloadView
Version of Record (VoR) Technical Documentation Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

90 File downloads
70 Record Views

Details

Logo image