Abstract
Exception handling mechanisms provided by sequential programming languages rely upon the call stack for the propagation of exceptions. Unfortunately, this is inadequate for handling exceptions thrown from asynchronously invoked methods. For instance, the invoking method may no longer be executing when the asynchronously invoked method throws an exception. We address this problem by requiring the specification of handlers for exceptions thrown from asynchronously invoked methods. Our solution also supports handling exceptions thrown after an early reply from a method and handling exceptions after forwarding the responsibility to reply. The JR programming language supports the exception handling model discussed in this paper.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
G.R. Andrews. Concurrent Programming: Principles and Practice. Benjamin/Cummings Publishing Company, Inc., Redwood City, CA, 1991.
J. B. Goodenough. Exception handling issues and a proposed notation. Communications of the ACM, 18(12):683–696, 1975.
Y. Ichisugi and A. Yonezawa. Exception handling and real time features in an object-oriented concurrent language. In Proceedings of the UK/Japan Workshop on Concurrency: Theory, Language, and Architecture, pages 604–615, 1990.
V. Issarny. An exception handling mechanism for parallel object-oriented programming: toward reusable, robust distributed software. Journal of Object-Oriented Programming, 6(6):29–40, 1993.
A. W. Keen. Integrating Concurrency Constructs with Object-Oriented Programming Languages: A Case Study. PhD dissertation, University of California, Davis, Department of Computer Science, June 2002.
A. W. Keen, T. Ge, J. T. Maris, and R. A. Olsson. JR: Flexible distributed programming in an extended Java. In Proceedings of the 21st IEEE International Conference on Distributed Computing Systems (ICDCS 2001), pages 575–584, April 2001.
B. Liskov, M. Herlihy, and L. Gilbert. Limitations of remote procedure call and static process structure for distributed computing. In Proceedings of 13th ACM Symposium on Principles of Programming Languages, St. Petersburg, FL, January 1986.
A. Szalas and D. Szczepanska. Exception handling in parallel computations. ACM SIGPLAN Notices, 20(10):95–104, October 1985.
S. Yemini and D. M. Berry. A modular verifiable exception handling mechanism. ACM Transactions on Programming Languages and Systems, 7(2):214–243, 1985.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Keen, A.W., Olsson, R.A. (2002). Exception Handling during Asynchronous Method Invocation. In: Monien, B., Feldmann, R. (eds) Euro-Par 2002 Parallel Processing. Euro-Par 2002. Lecture Notes in Computer Science, vol 2400. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45706-2_90
Download citation
DOI: https://doi.org/10.1007/3-540-45706-2_90
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44049-9
Online ISBN: 978-3-540-45706-0
eBook Packages: Springer Book Archive