2015 · 101 citations · 12 references
ComputingComputer EngineeringComputer ScienceProgramming LanguagesSystems ProgrammingError DetectionError HandlingError PreventionSoftware TestingException HandlingException ManagementException PropagationException TrackingPrecise Exception Handling
Abstract. Most modern programming languages rely on exceptions for dealing with abnormal situations. Although exception handling was a significant improvement over other mechanisms like checking return codes, it is far from perfect. In fact, it can be argued that this mechanism is seriously limited, if not, flawed. This paper aims to contribute to the discussion by providing quantitative measures on how programmers are currently using exception handling. We examined 32 different applications, both for Java and.NET. The major conclusion for this work is that exceptions are not being correctly used as an error recovery mechanism. Exception handlers are not specialized enough for allowing recovery and, typically, programmers just do one of the following actions: logging, user notification and application termination. To our knowledge, this is the most comprehensive study done on exception handling to date, providing a quantitative measure useful for guiding the development of new error handling mechanisms.
12
Dwight B. Davis · Datamation · 1993 · 1.6K citations
Information and Software Technology · 1992 · 994 citations
Tzilla Elrad, Robert E. Filman, Atef Bader · Communications of the ACM · 2001 · 532 citations
John B. Goodenough · Communications of the ACM · 1975 · 496 citations · Full text