Enterprise Exception Handling Research and Extension Based on Struts2 Framework
暂无分享,去创建一个
This paper describes the study and extension in the exception handling mechanism which is provides by Struts2,since the traditional Java exception try-catch mechanism has been unable to satisfy today's large-scale enterprise development.The paper pro-poses a capturing thought that transforms the inspected(Checked)exception to the non-inspected(Unchecked)exception.Using the AOP intercept technology to construct a kind of highly effective,unification exception handling mechanism,to enhance the code read-ability greatly,the performance and the maintainability of the program,thus reduce the similar codes redundant used,and avoid the excessive using inspection(Checked)exception causing program's chaotic structure,code's complex logic,etc.