首页> 美国政府科技报告 >Exception Handling Framework for N-Version Programming in Object Oriented Systems
【24h】

Exception Handling Framework for N-Version Programming in Object Oriented Systems

机译:面向对象系统中N版编程的异常处理框架

获取原文

摘要

Structuring complex systems out of components with both normal and exceptionaloutcomes and using exception handling for dealing with abnormal events are well-accepted practices. This paper proposes an approach for introducing exception handling into object-oriented N-version programming (NVP). We start with outlining general principles of structuring systems with diversity and show why it is important to use exceptions while developing and using diversely developed software. Internal version exceptions and external exceptions, which the diversely-designed class can propagate, are clearly separated in our framework: each of version has its own internal exceptions but the external exceptions of all versions have to be the same and identical to the interface exceptions of the whole class. This scheme requires an adjudicator of a special kind to allow interface exception signaling when a majority of versions have signaled the same exception. We demonstrate these ideas using a general framework for introducing NVP into object-oriented systems, which we have developed recently. This framework follows all principles of structured NVP: software diversity is introduced here at the level of classes and encapsulated into the diversely designed class. This framework makes use of the many advantages object oriented programming has. For the demonstration, it has been implemented in Ada.

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号