Verification Rules for Exception Handling in Eiffel. Sekerinski, E. & Zhang, T. In Gheyi, R. & Naumann, D., editors, Formal Methods: Foundations and Applications, volume 7498, of Lecture Notes in Computer Science, pages 179–193, September, 2012. Springer.
doi  abstract   bibtex   
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.
@inproceedings{SekerinskiZhang12ExceptionHandlingEiffel,
	series = {Lecture {Notes} in {Computer} {Science}},
	title = {Verification {Rules} for {Exception} {Handling} in {Eiffel}},
	volume = {7498},
	isbn = {978-3-642-33295-1},
	doi = {10.1007/978-3-642-33296-8_14},
	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.},
	booktitle = {Formal {Methods}: {Foundations} and {Applications}},
	publisher = {Springer},
	author = {Sekerinski, Emil and Zhang, Tian},
	editor = {Gheyi, Rohit and Naumann, David},
	month = sep,
	year = {2012},
	pages = {179--193},
}

Downloads: 0