+ final DOMNotificationListener listener = r.getInstance();
+ if (listener != null) {
+ try {
+ listener.onNotification(notification);
+ } catch (Exception e) {
+ LOG.error("Delivery of notification {} caused an error in listener {}", notification, listener, e);
+ }