beanServer.unregisterMBean(ConfigJMXNotification.OBJECT_NAME);
} catch (InstanceNotFoundException | MBeanRegistrationException e) {
throw new IllegalStateException(
- "Notifier: " + ConfigJMXNotification.OBJECT_NAME + " not found in JMX when closing");
+ "Notifier: " + ConfigJMXNotification.OBJECT_NAME + " not found in JMX when closing", e);
}
}