摘要
异常处理本就是一件复杂耗时且容易出错的任务,尤其在面向服务体系结构中,异常抛出的行为变得更加复杂,因此对面向服务的异常捕获和异常处理提出了更高的要求。文中首先对面向服务的异常产生的源头进行了分析,提出了面向服务的异常分类方法,将面向服务的异常分为服务层异常和流程层异常。在此基础上,服务层异常和流程层异常再各自细分为系统异常、资源异常和应用异常。最后针对每类异常,提出了对应的异常处理方法,能够分别在服务层和流程层上为面向服务的系统提供更好的健壮性。
Exception handling is a time-consuming and easy to make error task. Especially in service-oriented architecture, exception throw chain becomes complicated particularly, so it improves requirements of exception capture and exception handling. It analyzes service -oriented exception produce source and proposes service-oriented exception classification. The exception classification divides exception into service layer exception and process exception. The two kind of exception is subdivided into system exception, resource exception and application exception. It presents a corresponding exception handling method for all kinds of exceptions. The method can enhance robust- ness of service layer and process layer for service-oriented system.
出处
《计算机技术与发展》
2012年第12期15-20,共6页
Computer Technology and Development
基金
国家自然科学基金资助项目(60773006)
关键词
面向服务
异常分类
异常处理
服务层
流程层
service-oriented
exception classification
exception handling
service layer
process layer