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

基于.NET的一种异常管理模型
引用本文:李宁,张云云.基于.NET的一种异常管理模型[J].西安科技大学学报,2004,24(4):511-515.
作者姓名:李宁  张云云
作者单位:陕西科技大学,电气与电子工程学院,陕西,咸阳,712081
摘    要:异常处理是建立稳定程序的重要措施。用.NET技术设计一种异常管理模型。实现异常的自动记录和通知。讨论了几种常见的记录异常信息的方法,着重于以高度可维护的方式来处理分布式系统下的程序。本模型提供了一种可伸缩性的框架,用高效、统一的方法管理异常,从程序的业务逻辑层把日志和报告的详细信息抽象化,使业务逻辑层和异常处理层解耦,能迅速、精确地通知操作人员当前所发生的问题,为开发人员提供有价值的诊断信息,并减少大量的需要用户创建、测试和维护的自定义异常处理代码,同时使应用程序更加健壮,易于调试。一致性、灵活性和可扩展性使本模型很有实用价值.

关 键 词:NET  异常管理  分布式系统  程序开发
文章编号:1672-9315(2004)04-0511-05
修稿时间:2004年2月13日

An exception management module based on.NET
LI Ning,ZHANG Yun-yun.An exception management module based on.NET[J].JOurnal of XI’an University of Science and Technology,2004,24(4):511-515.
Authors:LI Ning  ZHANG Yun-yun
Abstract:Exception handle is a significant technique of building steady applications. Using .NET technologies design an exception management module, which complements automatically logging and notifications. It analyses several familiar techniques of logging exception message, and focuses on the process of handling exceptions within distributed applications in a highly maintainable manner. This module provides a scalable framework, which manages exceptions efficiently and consistently. It abstracts the details of logging and reporting from the application's business logic, decoupled business logic layer and exception handler layer. It can quickly and accurately notify operators of any problems it is experiencing, and can provide valuable diagnosis information to developers. It reduces the amount of custom error handling code users need to create, test, and maintain, which makes application more robust and easier to debug. Consistency, flexibility and extensibility make this module much valuable.
Keywords:,NET,exception management,distributed system,
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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