Catch exceptions related to configuration file