An Exception Handling Architecture and Utility Support for Java Language

碩士 === 國立臺北科技大學 === 資訊工程系所 === 94 === Exception handling is an important but difficult issue in software development. In Java, the separation of checked and unchecked exceptions aggravates the difficulty. From the recoverability perspective of exceptions, this thesis proposes an exception architectu...

Full description

Bibliographic Details
Main Authors: Tsui-Chen She, 佘翠瑱
Other Authors: Chin-Yun Hsieh
Format: Others
Language:zh-TW
Published: 2006
Online Access:http://ndltd.ncl.edu.tw/handle/kdtavc
Description
Summary:碩士 === 國立臺北科技大學 === 資訊工程系所 === 94 === Exception handling is an important but difficult issue in software development. In Java, the separation of checked and unchecked exceptions aggravates the difficulty. From the recoverability perspective of exceptions, this thesis proposes an exception architectural model, which contains three levels of exception handling abilities, as a means to guide exception handling. We show that the architectural model acts as a conceptual model for evaluating and determining suitable exception handling policies. The thesis further clarifies the responsibility of exception handlers and provides several exception handling policies to aid developers in writing exception handling code. We develop an Eclipse plug-in embodying the policies to streamline its application. Its design and usage are presented as well. By covering both the architecture and the implementation perspectives, the research can assist developers in consistently analyzing, designing, and implementing exception handling programs and to effectively achieve software robustness.