Fix critical Sonar Issue: ConfigurationServiceImpl.java 11/13011/3
authorFlavio Fernandes <ffernand@redhat.com>
Thu, 20 Nov 2014 15:15:58 +0000 (10:15 -0500)
committerFlavio Fernandes <ffernand@redhat.com>
Fri, 21 Nov 2014 15:31:49 +0000 (10:31 -0500)
commit57f036dd17713e88fd8e881dc97af16acde00dce
treecf03f0a67e1a26d9bdce203f5fa39b9af8def107
parente49583aef51c3559ccc62bdb1c58e347f2a93de9
Fix critical Sonar Issue: ConfigurationServiceImpl.java

Fix for the following issue:
- Throwable.printStackTrace(...) should never be called

https://sonar.opendaylight.org/component/index#component=org.opendaylight.ovsdb%3Aplugin%3Amaster%3Asrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fovsdb%2Fplugin%2Fimpl%2FConfigurationServiceImpl.java&settings=issues&blocks=959%2C967&tab=issues&item=.js-filter-CRITICAL-issues&line=963

patch 2: replace 'e.fillInStackTrace()' with 'e'
patch 3: set log level to error

Change-Id: I91af7d1548b3c7563126ace9ad33a0f1b8877379
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
plugin/src/main/java/org/opendaylight/ovsdb/plugin/impl/ConfigurationServiceImpl.java