Art der Veröffentlichung: |
Artikel in Konferenzband |
Autor: |
Dennis Walter, Lutz Schröder, Till Mossakowski |
Herausgeber: |
Jose Fiadeiro, Jan Rutten |
Titel: |
Parametrized Exceptions |
Buch / Sammlungs-Titel: |
Algebra and Coalgebra in Computer Science |
Band: |
3629 |
Seite(n): |
424 – 438 |
Serie / Reihe: |
Lecture Notes in Computer Science |
Erscheinungsjahr: |
2005 |
Verleger: |
Springer, Berlin |
Abstract / Kurzbeschreibung: |
Following the paradigm of encapsulation of side effects via monads, the
Java execution mechanism has been described by the so-called Java monad,
encorporating essentially stateful computation and exceptions, which are
heavily used in Java control flow. A technical problem that appears in
this model is the fact that the return exception in Java is parametrized
by the return value, so that method calls actually move between slightly
different monads, depending on the type of the return value. We provide
a treatment of this problem in the general framework of exception monads
as introduced in earlier work by some of the authors; this framework
includes generic partial and total Hoare calculi for abrupt
termination. Moreover, we illustrate this framework by means of a
verification of a pattern match algorithm.
|
ISBN: |
3-540-28620-9 |
Internet: |
http://www.springerlink.com/(bt4qw245oavupgzdxw3zpuul)/app/home/contribution.asp?referrer=parent&backto=searchcitationsresults,2,2; |
PDF Version: |
http://www.informatik.uni-bremen.de/~lschrode/papers/paramexc.pdf |
PostScript Version: |
http://www.informatik.uni-bremen.de/~lschrode/papers/paramexc.ps |
Schlagworte: |
exceptions java monads HasCASL method calls |
Status: |
Reviewed |
Letzte Aktualisierung: |
31. 01. 2006 |