try {
if(reader!=null){
reader.close();
}
} catch (IOException e1) {
throw new PropertyException(e1.toString());
}
throw new PropertyException(e.toString());
} catch (IOException e) {
log.error(e);
try {
if(reader!=null){
reader.close();
}
} catch (IOException e1) {
throw new PropertyException(e1.toString());
}
throw new PropertyException(e.toString());
}
return properties;
}