Toggle Main Menu Toggle Search

Open Access padlockePrints

Forward and Backward Error Recovery in C++

Lookup NU author(s): Dr Robert Stroud

Downloads


Abstract

The C++ language has recently been extended to provide support for exception handling and parameterised types. Using these language features it is possible to implement reusable components that support the use of forward and backward error recovery techniques in fault-tolerant applications written in C++. This paper describes the implementation and use of such components and discusses ways in which inheritance can be used to provide a framework for software fault tolerance. We first demonstrate how inheritance can be combined with exception handling to implement a series of alternates linked together by forward error recovery and then show how this approach can be generalised to build a hierarchy of idealised fault-tolerant components. Finally, we show how a generic recovery block function may be used to implement backward error recovery and discuss ways of dealing with the problem of state restoration.


Publication metadata

Author(s): Rubira-Calsavara CMF, Stroud RJ

Publication type: Report

Publication status: Published

Series Title: Department of Computing Science Technical Report Series

Year: 1993

Pages: 26

Print publication date: 01/02/1993

Source Publication Date: February 1993

Report Number: 417

Institution: Department of Computing Science, University of Newcastle upon Tyne

Place Published: Newcastle upon Tyne

URL: http://www.cs.ncl.ac.uk/publications/trs/papers/417.pdf


Share