Analyzing exception flow in javaTM programs

34Citations
Citations of this article
15Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Exception handling mechanisms provided by programming languages are intended to ease the difficulty of developing robust soft- ware 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 this 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. © Springer-Verlag Berlin Heidelberg 1999.

Cite

CITATION STYLE

APA

Robillard, M. P., & Murphy, G. C. (1999). Analyzing exception flow in javaTM programs. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1687 LNCS, pp. 322–337). Springer Verlag. https://doi.org/10.1007/3-540-48166-4_20

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free