{"title":"Exception Handling Recommendation Based on Self-Attention Network","authors":"Kai Lin, Chuanqi Tao, Zhiqiu Huang","doi":"10.1109/ISSREW53611.2021.00080","DOIUrl":null,"url":null,"abstract":"Exception handling is widely applied to prevent unexpected runtime errors in software development. However, developers, especially novices, may not be able to write proper exception handling code, causing program crashes and reducing system reliability. To assist users to handle exceptions properly, we propose EHRSAN, a novel exception handling recommendation approach. It adopts the self-attention network to predict potential runtime exceptions in the programming context and recommend relevant code to handle the exceptions.","PeriodicalId":385392,"journal":{"name":"2021 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISSREW53611.2021.00080","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Exception handling is widely applied to prevent unexpected runtime errors in software development. However, developers, especially novices, may not be able to write proper exception handling code, causing program crashes and reducing system reliability. To assist users to handle exceptions properly, we propose EHRSAN, a novel exception handling recommendation approach. It adopts the self-attention network to predict potential runtime exceptions in the programming context and recommend relevant code to handle the exceptions.