Rules for Async Exception Propagation
The easy way to explain AIE propagation is with two points:
An AsynchronouslyInterruptedException that is thrown by the interrupt method on a RealtimeThread object propagates all the way through the thread and causes it to terminate.
An AsynchronouslyInterruptedException thrown by the fire method on an AIE object propagates until it reaches the doInterruptible for that AIE. There it stops. On the way to the stopping place, the exception will execute every appropriate catch block that catches AsynchronouslyInterruptedException and every appropriate finally clause.
Oblivious catch
Propagation is automatic if the programmer uses standard Java exception processing mechanisms and the fire and doInterruptible methods ...
Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.