Updates to catch config.configException
Following the changes in ADHI-4841 updates to catch config.configException
No functional changes so only checked compilation errors are removed. Probably some of the previous null checking could also be removed now, but left for protection.
@rhauser @isolov @avolio @jpanduro - please let me know if you have any comments before merging this