sonar blocker issue fixes
[so.git] / bpmn / MSOURN-plugin / src / main / java / org / openecomp / camunda / bpmn / plugin / urnmap / resources / URNResource.java
index 5ef77ee..1a4c16d 100644 (file)
@@ -82,21 +82,21 @@ public class URNResource extends AbstractCockpitPluginResource{
                                \r
                } catch (Exception e) \r
                {\r
-                       msoLogger.debug("Exception in getUrnDataMap " + e);                     \r
+                       msoLogger.debug("Exception in getUrnDataMap ", e);                      \r
                } finally {\r
                        if(psData != null){\r
                                try {\r
                                        psData.close();\r
                                        conn.close();\r
                                } catch (SQLException e) {\r
-                                       msoLogger.debug("Exception while closing the PreparedStatement: " + e);\r
+                                       msoLogger.debug("Exception while closing the PreparedStatement: ", e);\r
                                }\r
                        }\r
                        if(conn != null){\r
                                try {\r
                                        conn.close();\r
                                } catch (SQLException e) {\r
-                                       msoLogger.debug("Exception while closing the connection: " + e);\r
+                                       msoLogger.debug("Exception while closing the connection: ", e);\r
                                }\r
                        }\r
                }\r
@@ -143,7 +143,7 @@ public class URNResource extends AbstractCockpitPluginResource{
                        \r
                } catch (Exception e) \r
                {\r
-                       msoLogger.debug("Exception in DBConnection " + e);\r
+                       msoLogger.debug("Exception in DBConnection ", e);\r
                }\r
          \r
          return conn;\r
@@ -183,21 +183,21 @@ public class URNResource extends AbstractCockpitPluginResource{
                        \r
                } catch (Exception e) \r
                {\r
-                       msoLogger.debug("Exception in insertNewRow " + e);\r
+                       msoLogger.debug("Exception in insertNewRow ", e);\r
                }finally {\r
                        if(psData != null){\r
                                try {\r
                                        psData.close();\r
                                        conn.close();\r
                                } catch (SQLException e) {\r
-                                       msoLogger.debug("Exception while closing the PreparedStatement: " + e);\r
+                                       msoLogger.debug("Exception while closing the PreparedStatement: ", e);\r
                                }\r
                        }\r
                        if(conn != null){\r
                                try {\r
                                        conn.close();\r
                                } catch (SQLException e) {\r
-                                       msoLogger.debug("Exception while closing the connection: " + e);\r
+                                       msoLogger.debug("Exception while closing the connection: ", e);\r
                                }\r
                        }\r
                }\r
@@ -219,21 +219,21 @@ public class URNResource extends AbstractCockpitPluginResource{
                           \r
                } catch (Exception e) \r
                {\r
-                       msoLogger.debug("Exception in PersistData " + e);\r
+                       msoLogger.debug("Exception in PersistData ", e);\r
                }finally {\r
                        if(psData != null){\r
                                try {\r
                                        psData.close();\r
                                        conn.close();\r
                                } catch (SQLException e) {\r
-                                       msoLogger.debug("Exception while closing the PreparedStatement: " + e);\r
+                                       msoLogger.debug("Exception while closing the PreparedStatement: ", e);\r
                                }\r
                        }\r
                        if(conn != null){\r
                                try {\r
                                        conn.close();\r
                                } catch (SQLException e) {\r
-                                       msoLogger.debug("Exception while closing the connection: " + e);\r
+                                       msoLogger.debug("Exception while closing the connection: ", e);\r
                                }\r
                        }\r
                }\r