Exception Handling during Asynchronous Method Invocation (Research Note)

  • Authors:
  • Aaron W. Keen;Ronald A. Olsson

  • Affiliations:
  • -;-

  • Venue:
  • Euro-Par '02 Proceedings of the 8th International Euro-Par Conference on Parallel Processing
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

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.