- for (String key : moduleConfig.getConfigMap().keySet()) {\r
- properties.put(key, moduleConfig.getConfigParameter(key));\r
+ try {\r
+ for (String key : moduleConfig.getConfigMap().keySet()) {\r
+ properties.put(key, moduleConfig.getConfigParameter(key));\r
+ }\r
+ } catch (IOException e) {\r
+ throw new ConfigurationException("Could not instantiate Pazpar2 configuration: "+e.getMessage(),e);\r