Static Analysis for Java Exception Propagation Structure

Xiang Qiu,Li Zhang,Xiaoli Lian
DOI: https://doi.org/10.1109/pic.2010.5688009
2010-01-01
Abstract:Exception handling mechanism in modern programming languages is frequently used to build robust systems. However, it presents more daze for software developers because of exception propagation. Centering on the question: “For raising exception, how to identify where handles the exception?” we analyze the dependency between exception propagation and method call. Then associating the method with exception types by the relationship of throw (declared explicitly in method signature) or catch, this paper builds the Software Extended Dependency Graph and proposes a static exception propagation path extraction algorithm, so we can analyze exception propagation hops, the exception hierarchy and exception propagation boundary.
What problem does this paper attempt to address?