ph = new PropertyHelper(locEngineProp, clustEngineProp,\r
execProp);\r
} catch (IOException e) {\r
- log.warn("Cannot read property files! Reason: "\r
- + e.getLocalizedMessage(), e.getCause());\r
+ log.warn(\r
+ "Cannot read property files! Reason: "\r
+ + e.getLocalizedMessage(), e.getCause());\r
}\r
}\r
return ph;\r
} catch (IllegalArgumentException e) {\r
// Classes are in the jar file, using different method to determine\r
// the path new File(INCORRECT URL) throws it\r
- log\r
- .warn(\r
- "It looks like classes are in the jar file. "\r
- + "Attempting a different method to determinine the path to the resources "\r
- + e.getLocalizedMessage(), e.getCause());\r
+ log.debug(\r
+ "It looks like classes are in the jar file. "\r
+ + "Attempting a different method to determinine the path to the resources "\r
+ + e.getLocalizedMessage(), e.getCause());\r
try {\r
f = new File(PropertyHelperManager.class.getProtectionDomain()\r
.getCodeSource().getLocation().toURI().getPath());\r
f = f.getParentFile();\r
}\r
} catch (URISyntaxException e1) {\r
- log.error("Could not find resources path! "\r
- + e1.getLocalizedMessage(), e1.getCause());\r
+ log.error(\r
+ "Could not find resources path! "\r
+ + e1.getLocalizedMessage(), e1.getCause());\r
throw new RuntimeException("Could not find resources path! ",\r
e1.getCause());\r
}\r