Home
Scholarly Works
Exceptions for dependability
Chapter
Exceptions for dependability
Abstract
Exception handling allows (1) a program to be structured such that the original design is preserved in presence of possibly failing components; (2) rare or undesired cases to be treated in an unobtrusive manner; and (3) imperfections to be handled systematically. This chapter develops a theory of exception handling with try-catch statements, and demonstrates its use in the design of dependable systems by giving a formal account of the patterns of masking, propagating, flagging, rollback, degraded service, recovery block, repeated attempts, and conditional retry. The theory is based on weakest exceptional preconditions, which are used for both defining statements and proofs. Proof outlines are introduced and used to establish the correctness of the patterns. © 2012, IGI Global.
Authors
Sekerinski E
Book title
Dependability and Computer Engineering Concepts for Software Intensive Systems
Pagination
pp. 11-35
Publication Date
December 1, 2011
DOI
10.4018/978-1-60960-747-0.ch002
Associated Experts
Emil Sekerinski
Professor, Faculty of Engineering
Visit profile
View published work (Non-McMaster Users)
Scholarly citations from Dimensions
Contact the Experts team
Get technical help
or
Provide website feedback