The Community for Technology Leaders
Green Image
Issue No. 02 - March/April (2010 vol. 36)
ISSN: 0098-5589
pp: 150-161
Carsten Görg , Georgia Institute of Technology, Atlanta
Hina B. Shah , Georgia Institute of Technology, Atlanta
Mary Jean Harrold , Georgia Institute of Technology, Atlanta
Several recent studies indicate that many industrial applications exhibit poor quality in the design of exception-handling. To improve the quality of error-handling, we need to understand the problems and obstacles that developers face when designing and implementing exception-handling. In this paper, we present our research on understanding the viewpoint of developers—novices and experts—toward exception-handling. First, we conducted a study with novice developers in industry. The study results reveal that novices tend to ignore exceptions because of the complex nature of exception-handling. Then, we conducted a second study with experts in industry to understand their perspective on exception-handling. The study results show that, for experts, exception-handling is a crucial part in the development process. Experts also confirm the novices' approach of ignoring exception-handling and provide insights as to why novices do so. After analyzing the study data, we identified factors that influence experts' strategy selection process for handling exceptions and then built a model that represents a strategy selection process experts use to handle exceptions. Our model is based on interacting modules and fault scope. We conclude with some recommendations to help novices improve their understanding of exception-handling.
Exception handling, user study, software developers.
Carsten Görg, Hina B. Shah, Mary Jean Harrold, "Understanding Exception Handling: Viewpoints of Novices and Experts", IEEE Transactions on Software Engineering, vol. 36, no. , pp. 150-161, March/April 2010, doi:10.1109/TSE.2010.7
108 ms
(Ver )