-
Enhancement
-
Resolution: Fixed
-
P3
-
6
-
b45
-
generic
-
generic
The specification for NotificationBroadcasterSupport should say what happens when a NotificationFilter or a NotificationListener throws an exception. The proposed behaviour is that the exception is ignored (of course it can be logged), and notification distribution continues with other listeners in the list.
For Errors, if the Error is thrown by a NotificationFilter then it is immediately propagated to the caller of sendNotification. If it is thrown by a NotificationListener then it is immediately propagated to the caller of sendNotification if notifications are being dispatched synchronously.
The specification of NotificationBroadcaster should also suggest that other implementations of this interface copy the same behaviour.
###@###.### 2005-03-23 14:32:51 GMT
###@###.### 2005-05-10 08:25:03 GMT
For Errors, if the Error is thrown by a NotificationFilter then it is immediately propagated to the caller of sendNotification. If it is thrown by a NotificationListener then it is immediately propagated to the caller of sendNotification if notifications are being dispatched synchronously.
The specification of NotificationBroadcaster should also suggest that other implementations of this interface copy the same behaviour.
###@###.### 2005-03-23 14:32:51 GMT
###@###.### 2005-05-10 08:25:03 GMT
- relates to
-
JDK-6244855 Exception thrown by NotificationFilter should be ignored
- Resolved