setting.put(key, p.getProperty(key));
}
in.close();
} catch (FileNotFoundException e) {
log.error("config file not found at" + file.getAbsolutePath());
throw new ConfigException("FileNotFoundException", e);
} catch (IOException e) {
log.error("config file not found at" + file.getAbsolutePath());
throw new ConfigException("IOException", e);
} catch (Exception e) {
throw new ConfigException("Exception", e);
}
}