Exception configuration is deprecated. The docs say that it was replaced with a ConfigurationErrorsException , but it is intended to convey failures in the configuration system - I do not think it is intended to display problems such as missing or incorrect configuration values.
Tom hollander
source share