跳到主要內容

臺灣博碩士論文加值系統

(44.211.26.178) 您好!臺灣時間:2024/06/16 01:24
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:佘翠瑱
研究生(外文):Tsui-Chen She
論文名稱:支援Java語言的例外處理架構與工具
論文名稱(外文):An Exception Handling Architecture and Utility Support for Java Language
指導教授:謝金雲鄭有進鄭有進引用關係
指導教授(外文):Chin-Yun HsiehYu Chin Cheng
口試委員:陳偉凱李允中
口試日期:2006-06-06
學位類別:碩士
校院名稱:國立臺北科技大學
系所名稱:資訊工程系所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2006
畢業學年度:94
語文別:中文
論文頁數:86
中文關鍵詞:例外處理例外處理架構強健度例外處理工具例外處理策略Eclipse
外文關鍵詞:Exception handlingexception handling architecturerobustnessexception handling toolexception handling strategyEclipse
相關次數:
  • 被引用被引用:6
  • 點閱點閱:298
  • 評分評分:
  • 下載下載:3
  • 收藏至我的研究室書目清單書目收藏:0
對軟體開發而言,例外處理設計與實作是一個重要但卻困難的議題。在Java語言中由於區分了checked與unchecked例外而使得例外處理更加的困難。本論文提出一個包含三種例外處理能力的例外處理架構,從例外可恢復性的角度來指導在Java語言中例外處理的方式。透過應用實例,我們展示出該架構可作為引導開發人員分析與決定例外處理策略的一種概念模型。此外,我們更進一步釐清例外處理的責任並且基於此責任提出數個例外處理策略。為了讓開發人員可以方便地利用我們所提出的例外處理策略,本論文以Eclipse plug-in的形式設計與實作一個支援例外處理的工具,並說明其設計架構與應用實例。
藉由本論文所提出的方法,我們分別由系統架構面與實務面的角度來協助開發人員進行例外處理的分析、設計與實作,以期有效地增進軟體系統的強健度。
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.
摘要 i
ABSTRACT ii
誌謝 iii
目 錄 iv
表目錄 v
圖目錄 vi
第一章緒論 1
1.1 研究背景 1
1.2 研究動機及目的 2
1.3 論文組織架構 3
第二章相關技術與研究 4
2.1 程式語言之例外處理機制 4
2.2 Java例外處理機制之設計 6
2.3 Java例外處理機制之問題分析 12
2.4 相關研究 13
第三章一個考量系統容錯能力的例外架構 16
3.1 例外處理與軟體架構 16
3.2 例外架構 17
3.3 抽象例外物件階層之建立 26
第四章例外處理策略與工具支援 33
4.1 例外處理策略分析 33
4.2 支援例外處理之物件導向函式庫 37
4.3 例外處理函式庫應用範例 40
4.4 協助開發例外處理程式的Eclipse外掛程式 47
第五章例外架構之應用實例 61
5.1 JCIS系統概念 61
5.2 JCIS checkout應用實例 63
5.3 模型演進與應用心得 76
第六章結論 79
參考文獻 82
附錄A 應用領域例外階層之建立 86
[1] A. S. Tanenbaum and M. V. Steen, Distributed Systems: Principles and Paradigms, Prentice Hall, 2002.
[2] S. Stelting, Robust Java: Exception Handling, Testing and Debugging, Prentice hall PTR, 2005.
[3] Anonymous, “Checked Exceptions Are Of Dubious Value,” http://www.c2.com/cgi/wiki?CheckedExceptionsAreOfDubiousValue.
[4] A. Müller and G. Simmons, “Exception Handling: Common Problems and Best Practice with Java 1.4,” Net.ObjectDays 2002, http://www.old.netobjectdays.org/pdf/02/papers/industry/1430.pdf, 2002.
[5] B. Venners, “Designing with exceptions: Guidelines and tips on when and how to use exceptions,” http://www.javaworld.com/javaworld/jw-07-1998/jw-07-techniques.html, 1998.
[6] F. Cristian, “Exception Handling,” Dependability of Resilient Computers, Edited by T. Anderson, Oxford: BSP Professional, 1989.
[7] Jørgen Lindskov Knudsen, ”Exception Handling versus Fault Tolerance,” Proc. of ECOOP’00, Springer-Verlag, 2001, pp. 1-17.
[8] P. A. Buhr and W. Y. R. Mok, “Advanced exception handling mechanisms,” IEEE Trans. on Softw. Eng., vol.26, issue 9, 2000, pp. 820-836.
[9] S.Yemini and D.M.Berry, “A Modular Verifiable Exception-Handling Mechanism,” ACM Trans. on Progr. Languages and Systems, vol. 7, no. 2, 1985, pp. 213-243.
[10] R. Miller and A. Tripathi, “Issues with exception handling in object-oriented systems,” Proc. of ECOOP’97, Springer-Verlag, 1997, pp. 85-103.
[11] S. B. Lippman and J. Lajoie, C++ Primer, 3rd Edition, Addison-Wesley, 1998.
[12] J. Gosling, B. Joy, G. Steele, and G. Bracha, The Java Language Specification, 3rd Edition, Addison-Wesley, 2005.
[13] K. Arnold, J. Gosling, and D. Holmes, The Java Programming Language, 4th Edition, Addison-Wesley, 2005.
[14] Arno Haase, “Java Idioms: Exception Handling,” EuroPLoP, 2002.
[15] J2SE API, http://java.sun.com/j2se/1.3/docs/api/java/net/Socket.html.
[16] D. Flanagan and B. McLaughlin, Java 1.5 Tiger: A Developers Notebook, O''Reilly, 2004.
[17] B. Meyer, “Disciplined Exceptions,” Technical Report, Interactive Software Engineering, 1998.
[18] D. Reimer and H. Srinivasan, “Analyzing exception usage in large java applications,” Proceedings of ECOOP’2003 - Workshop on Exception Handling for Object-Oriented Systems, Darmstadt, Germany, 2003, pp. 10-19.
[19] Anonymous, “Java Exceptions Are Particularly Evil,” http://www.c2.com/cgi/wiki?JavaExceptionsAreParticularlyEvil.
[20] B. Venners, “Failure and Exceptions: A Conversation with James Gosling, Part II,” http://www.artima.com/intv/solidP.html, 2003.
[21] B. Venners and B. Eckel, “The Trouble with Checked Exceptions: A Conversation with Anders Hejlsberg, Part II,” http://www.artima.com/intv/handcuffsP.html, 2003.
[22] Y. C. Cheng, C.-T Chen, and J. S. Jwo, "Exception handling: An Architecture Model and Utility Support," Proceedings of the 12th Asia-Pacific Software Engineering Conference, 2005.
[23] J. Bloch, Effective Java Programming Language Guide, Addison Wesley, 2001.
[24] P. Haggar, Practical Java Programming Language Guide, Addison-Wesley, 1999.
[25] John Zukowski, “Taming Tiger: Default exception handling in threads,” http://www-128.ibm.com/developerworks/java/library/j-tiger08104/, 2004.
[26] M. P. Robillard and G. C. Murphy, “Designing robust java programs with exceptions,” Proceedings of the 8th ACM SIGSOFT Symposium on Foundations of Software Engineering, 2000, pp. 2-10.
[27] M. P. Robillard and G. C. Murphy, “Static analysis to support the evolution of exception structure in object-oriented systems,” ACM Transactions on Software Engineering and Methodology, vol.12, issue 2, 2003, pp. 191-221.
[28] V. Issarny and J. P. Banatre, “Architecture-based exception handling,” Proceedings of the 34th Annual Hawaii International Conference on System Sciences, IEEE, 2001.
[29] P. Guerra et al., “Structuring Exception Handling for Dependable Component-Based Software Systems,” Proceedings of the 30th EUROMICRO Conference, 2004.
[30] B. Meyer, Object-Oriented Software Construction, 2nd Edition, Prentice-Hall, 1997.
[31] J. Siedersleben, “Errors and Exceptions – Rights and Responsibilities,” Proceedings of ECOOP’2003 - Workshop on Exception Handling for Object-Oriented Systems, Darmstadt, Germany, 2003.
[32] Luo, Z., Sheth, A., Kochut, K., and Arpinar, B., “Exception Handling for Conflict Resolution in Cross-Organizational Workflows,” Distributed and Parallel Databases, Kluwer Academic, 2002.
[33] F. Buschmann, R. Meunier, H. Rohnert, P. Sommerlad, and M. Stal, Pattern-Oriented Software Architecture - A System of Patterns, John-Wiley and Sons, 1996.
[34] A. Avizienis, “The N-Version Approach to Fault-Tolerant Software,” IEEE Transactions on Software Engineering, 1985, pp. 1491-1501.
[35] E. Gamma, R. Helm, R. Johnson, and J. Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley, 1995.
[36] Tim McCune, “Exception-Handling Antipatterns,” http://today.java.net/pub/a/today/2006/04/06/exception-handling-antipatterns.html.
[37] Eclipse, http://www.eclipse.org/.
[38] J. Arthorne and C. Laffra, Official Eclipse 3.0 Faqs, Addison-Wesley, 2004.
[39] 鄭有進,JCIS: 一個支援JAVA應用程式的持續整合系統, 國科會自由軟體專案研究計劃,計畫編號93-2218-E-027-038.
[40] A. A. AVIZˇ IENIS, “The Methodology of N-Version Programming,” Software Fault Tolerance, Edited by Lyu, John Wiley and Sons, 1995.
[41] M. Fowler, Refactoring: Improving the Design of Existing Code, Addison-Wesley, 1999.
[42] Anonymous, “How to Write Doc Comments for the Javadoc Tool,” http://java.sun.com/j2se/javadoc/writingdoccomments/.
[43] D. Celovic and N. Soukouti, “About effective Exception Handling,” http://www.sanabel-solutions.com/publications/About%20Effective%20Exception%20Handling.pdf.
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
無相關期刊