Towards a context dependent Java exceptions hierarchy

Conference Paper (2017)
Author(s)

Maria Kechagia (Athens University of Economics and Business)

Tushar Sharma (Athens University of Economics and Business)

Diomidis Spinellis (Athens University of Economics and Business)

Affiliation
External organisation
DOI related publication
https://doi.org/10.1109/ICSE-C.2017.134 Final published version
More Info
expand_more
Publication Year
2017
Language
English
Affiliation
External organisation
Article number
7965354
Pages (from-to)
347-349
ISBN (electronic)
9781538615898
Event
39th IEEE/ACM International Conference on Software Engineering Companion, ICSE-C 2017 (2017-05-20 - 2017-05-28), Buenos Aires, Argentina
Downloads counter
156

Abstract

The role of exceptions is crucial for the robustness of modern applications and critical systems. Despite this, there is a long debate among researchers, programming language designers, and practitioners regarding the usefulness and appropriateness of the available exception types and their classification. In this paper, we examine Java exceptions and propose a new class hierarchy and compile-time mechanisms that take into account the context in which exceptions can arise. We believe that the increased specificity of exception handling based on our proposal can boost its effectiveness and lead to fewer application failures.