首页 | 本学科首页   官方微博 | 高级检索  
     

请求驱动的校务管理系统异常处理机制
引用本文:李惠欢.请求驱动的校务管理系统异常处理机制[J].计算机系统应用,2016,25(8):73-78.
作者姓名:李惠欢
作者单位:中山大学 网络与信息技术中心, 广州 510275
摘    要:异常处理机制是所有WEB应用设计中的关键组成部分,Spring MVC框架提供了异常处理接口和多种解析器. 通过源码分析法深入探讨了各种解析器的工作原理,总结得出它们的时间复杂度并进行了应用方式对照. 结合我校在校务管理系统基础框架上异常处理的应用需求情况,将异常划分为业务异常和系统异常两大类,设计并实施一个包含AJAX异常处理和ExceptionHandler统一异常处理的异常机制.

关 键 词:Spring  MVC  异常处理  异常解析器  AJAX  ExceptionHandler
收稿时间:2015/12/17 0:00:00
修稿时间:2016/2/25 0:00:00

Exception Handling Mechanism in School Management System Based on Request
LI Hui-Huan.Exception Handling Mechanism in School Management System Based on Request[J].Computer Systems& Applications,2016,25(8):73-78.
Authors:LI Hui-Huan
Affiliation:The Network and Information Technology Center, Sun Yat-sen University, Guangzhou 510275, China
Abstract:The exception handling mechanism is one of the key parts in any web application design. Spring MVC framework provides an exception handling interface and several exception resolvers. Through analyzing of the Spring Framework''s source code, it describes the way which these exception resolvers work in, deduces their time complexity and lists their applicable scenarios. According to the application requirement of exception handling in framework of eCampus System in SYSU, it divides exception into two categories: business exception and system exception and designs and implements an exception handling including exception handling applying for AJAX and global exception handling of ExceptionHandler.
Keywords:spring MVC  exception handling  exception resolver  AJAX  ExceptionHandler
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号