- Enclosing class:
- ObserverNotifier
protected static interface ObserverNotifier.ObserverExceptionHandler
There are two different strategies of exception handling for observer methods. When an exception is raised by a synchronous or transactional observer
for a synchronous event, this exception stops the notification chain and the exception is propagated immediately. On the other hand, an exception thrown
during asynchronous event delivery never is never propagated directly. Instead, all the exceptions for a given asynchronous event are collected and then made
available together using FireAsyncException.
- Author:
- Jozef Hartinger