Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Supporting Evolution of Interface Exceptions

Anna MikhailovaContact Information and Alexander RomanovskyContact Information

(8)  Department of Electronics & Computer Science, University of Southampton Highfield, Southampton, SO17 1BJ, UK
(9)  Department of Computing Science, University of Newcastle upon Tyne, Newcastle upon Tyne, NE1 7RU, UK
Abstract
Interface exceptions (explicitly declared exceptions that a method can propagate outside) are an inherent part of the interface describing the behaviour of a particular class of objects. Evolution of system behaviour is thus necessarily accompanied by and reflected in the evolution of interface exceptions. While the evolution of normal system behaviour is adequately supported by various language mechanisms, such as subtyping and inheritance, few contemporary object-oriented program- ming languages offer support for the evolution of interface exceptions. Some languages allow interface exceptions to be specialised and deleted while subtyping, but none of them provides adequate support for adding exceptions. In this paper we propose two complementary solutions to dealing with additional exceptions introduced during system evolution. To solve the problem of non-conforming interfaces resulting from the ad- dition of new exceptions in a development step, the first proposal uses rescue handlers and the second one employs the forwarding technique.
Acknowledgements  We would like to thank Christophe Dony, Ricardo Jiménez-Peris, J∅rgen Lindskov Knudsen, and Anand Tripathi for valuable comments and constructive criticism. Anna Mikhailova’s research is supported by the European IST project MATISSE and Alexander Romanovsky’s research by the European IST DSoS project.

Contact Information Anna Mikhailova
Email: aam@ecs.soton.ac.uk

Contact Information Alexander Romanovsky
Email: alexander.romanovsky@newcastle.ac.uk
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.105 • Server: mpweb06
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)