Recommending Exception Handling Code

Tam The Nguyen, Phong Vu, Tung Thanh Nguyen · 2019

Exception handling is an advanced programming technique to prevent run-time errors or crashes for modern software systems. However, inexperienced programmers might fail to write proper exception handling code in their programs. In this paper, we introduce ExAssist, a code recommendation tool for exception handling. ExAssist can predict what types of exception could occur in a given piece of code and recommend proper exception handling code for such exceptions. Preliminary evaluation of ExAssist suggests that it provides highly accurate recommendations. The tool's website is at rebrand.ly/exassist. The video demo of ExAssist could be found at rebrand.ly/exassistdemo.

Read the paper · More papers on PaperTik