listener.notifyEvent(eventDescription, task, parentResult); } catch (RuntimeException e) { LOGGER.error("Exception {} thrown by event listener {}: {}-{}", new Object[]{ e.getClass(), listener.getName(), e.getMessage(), e }); parentResult.createSubresult(CLASS_NAME_WITH_DOT + "notifyEvent") .recordWarning("Event listener has thrown unexpected exception", e);