Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/644760.644768guidebooksArticle/Chapter ViewAbstractPublication PagesBookacm-pubtype
chapter

Supporting evolution of interface exceptions

Published: 01 January 2001 Publication History

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 programming 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 addition of new exceptions in a development step, the first proposal uses rescue handlers and the second one employs the forwarding technique.

References

[1]
1. M. Abadi and L. Cardelli. A Theory of Objects. Springer-Verlag, 1996.
[2]
2. L. Cardelli, J. Donahue, L. Classman, M. Jordan, B. Kalsow, and G. Nelson. Modula-3 language definition. Technical Report 52, Digital Equipment Corporation, Systems Research Center, 1989.
[3]
3. W. R. Cook, W. L. Hill, and P. S. Canning. Inheritance is not subtyping. In Seventeenth Annum ACM Symposium on Principles of Programming Languages, pages 125-135, San Francisco, CA, Jan. 1990.
[4]
4. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns: Elements of Reusable ObjectOriented Software. Addison-Wesley, 1995.
[5]
5. J. B. Goodenough. Exception handling: Issues and a proposed notation. Communications of the ACM, 18(12):683-696, Dec. 1975.
[6]
6. J. Gosling, B. Joy, and G. Steele. The Java Language Specification. Sun Microsysterns, Mountain View, 1996.
[7]
7. V. Issarny. An exception handling mechanism for parallel object-oriented programming: towards the design of reusable, and robust distributed software. Journal of Object-Oriented Programming, 6(6):29-40, 1993.
[8]
8. R. Miller and A. Tripathi. Issues with exception handling in object-oriented systems. In M. Aksit and S. Matsuoka, editors, ECOOP '97 -- Object-Oriented Programming 11th European Conference, Jyväskylä, Finland, volume 1241 of Lecture Notes in Computer Science, pages 85-103. Springer-Verlag, New York, NY, June 1997.
[9]
9. A. Taivalsaari. On the notion of inheritance. Comp. Surveys, 28(3):438-479, September 1996.

Cited By

View all
  • (2013)New exception interfaces for Java-like languagesProceedings of the 28th Annual ACM Symposium on Applied Computing10.1145/2480362.2480675(1661-1666)Online publication date: 18-Mar-2013
  • (2005)Combining the robustness of checked exceptions with the flexibility of unchecked exceptions using anchored exception declarationsProceedings of the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications10.1145/1094811.1094847(455-471)Online publication date: 17-Oct-2005

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide books
Advances in exception handling techniques
January 2001
288 pages
ISBN:3540419527
  • Editors:
  • Alexander Romanovsky,
  • Christophe Dony,
  • Jørgen Lindskov Knudsen,
  • Anand Tripathi

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 January 2001

Qualifiers

  • Chapter

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2013)New exception interfaces for Java-like languagesProceedings of the 28th Annual ACM Symposium on Applied Computing10.1145/2480362.2480675(1661-1666)Online publication date: 18-Mar-2013
  • (2005)Combining the robustness of checked exceptions with the flexibility of unchecked exceptions using anchored exception declarationsProceedings of the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications10.1145/1094811.1094847(455-471)Online publication date: 17-Oct-2005

View Options

View options

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media