Back to results

Universidade Federal do Rio Grande do Norte

Identifying and analyzing Java exception handling guidelines: a developers point-of-view

Abstract

dc:description.abstract

The exception handling mechanism is a feature present in most modern programming languages which helps the development of fault tolerant systems. Despite being an old feature of the Java language, developers still struggle to use exception handling for even the most basic problems. Although the exception handling of a system is essentially a design problem, few works are intended to investigate Java exception handling from the developers’ point of view. In this thesis we explore the decisions made and solutions adopted by Java developers for exception handling in their projects. In total we conducted 6 studies, which consulted a total of 423 developers, including interviews and surveys, and analyzed the source code of 240 Java projects hosted on GitHub. Our results show that decisions regarding Java exception handling are not usually documented, and sometimes not even discussed verbally among the development team; that developers believe their code follows the adopted solutions; that developers learn about exception handling solutions through informal meetings and code inspection; that the adopted solutions in the project are verified in the source code through code review. We analyzed Java source code from 240 projects to verify compliance of 6 of the 31 Java exception handling solutions we identified, and found that the code often fails to deliver what was planned. Our research reveals a weakness in the design, implementation, and verification of Java exception handling that will help researchers and the community to design tools and other solutions that help developers to apply exception handling effectively.

Degree

thesis:*
Grantor dc:publisher
Universidade Federal do Rio Grande do Norte
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Melo, Hugo Faria
Advisor dc:contributor.advisor
  • Coelho, Roberta de Souza

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • Acesso Aberto
Language dc:language
pt_BR

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://repositorio.ufrn.br/handle/123456789/30645
OAI identifier oai:identifier
oai:repositorio.ufrn.br:123456789/30645

Chain of custody

source
Harvested from
Brazil UFRN
Base URL
repositorio.ufrn.br/server/oai/request
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Melo, Hugo Faria. Identifying and analyzing Java exception handling guidelines: a developers point-of-view. Universidade Federal do Rio Grande do Norte, 2019. https://repositorio.ufrn.br/handle/123456789/30645