Home
Scholarly Works
Verification Rules for Exception Handling in...
Conference

Verification Rules for Exception Handling in Eiffel

Abstract

The Eiffel exception mechanism supports two methodological aspects. First, a method specification by a pre- and postcondition also determines when the method exits exceptionally, namely when the stated postcondition cannot be satisfied. Secondly, the rescue and retry statements combine catching an exception with a loop structure, thus requiring a dedicated form of correctness reasoning. We present verification rules for total correctness that take these two aspects into account. The rules handle normal loops and retry loop structures in an analogous manner. They also allow the Eiffel’s mechanism to be slightly generalized. The verification rules are derived from a definition of statements by higher-order predicate transformers and have been checked with a theorem prover.

Authors

Sekerinski E; Zhang T

Series

Lecture Notes in Computer Science

Volume

7498

Pagination

pp. 179-193

Publisher

Springer Nature

Publication Date

November 6, 2012

DOI

10.1007/978-3-642-33296-8_14

Conference proceedings

Lecture Notes in Computer Science

ISSN

0302-9743
View published work (Non-McMaster Users)

Contact the Experts team