Bug 5077: Codes break the security rules
[nemo.git] / nemo-impl / src / main / java / org / opendaylight / nemo / user / tenantmanager / TenantManage.java
index aca173aa54639d048352dbcfcdea0aa4bd9043e9..3780f394b007250cdd3a3ecfc93cf058b3941bac 100644 (file)
@@ -182,10 +182,10 @@ public class TenantManage {
                 f.get();\r
             } catch (InterruptedException e) {\r
                 // TODO Auto-generated catch block\r
-                e.printStackTrace();\r
+                LOG.error("Exception:",e);\r
             } catch (ExecutionException e) {\r
                 // TODO Auto-generated catch block\r
-                e.printStackTrace();\r
+                LOG.error("Exception:",e);\r
             }\r
         }\r
     }\r
@@ -519,10 +519,10 @@ public class TenantManage {
                     f.get();\r
                 } catch (InterruptedException e) {\r
                     // TODO Auto-generated catch block\r
-                    e.printStackTrace();\r
+                    LOG.error("Exception:",e);\r
                 } catch (ExecutionException e) {\r
                     // TODO Auto-generated catch block\r
-                    e.printStackTrace();\r
+                    LOG.error("Exception:",e);\r
                 }\r
             }\r
 \r
@@ -547,10 +547,10 @@ public class TenantManage {
                    f.get();\r
                } catch (InterruptedException e) {\r
                    // TODO Auto-generated catch block\r
-                   e.printStackTrace();\r
+                   LOG.error("Exception:",e);\r
                } catch (ExecutionException e) {\r
                    // TODO Auto-generated catch block\r
-                   e.printStackTrace();\r
+                   LOG.error("Exception:",e);\r
                }\r
            }\r
         }\r
@@ -574,10 +574,10 @@ public class TenantManage {
                    f.get();\r
                } catch (InterruptedException e) {\r
                    // TODO Auto-generated catch block\r
-                   e.printStackTrace();\r
+                   LOG.error("Exception:",e);\r
                } catch (ExecutionException e) {\r
                    // TODO Auto-generated catch block\r
-                   e.printStackTrace();\r
+                   LOG.error("Exception:",e);\r
                }\r
            }\r
         }\r
@@ -603,10 +603,10 @@ public class TenantManage {
                     f.get();\r
                 } catch (InterruptedException e) {\r
                     // TODO Auto-generated catch block\r
-                    e.printStackTrace();\r
+                    LOG.error("Exception:",e);\r
                 } catch (ExecutionException e) {\r
                     // TODO Auto-generated catch block\r
-                    e.printStackTrace();\r
+                    LOG.error("Exception:",e);\r
                 }\r
             }\r
         }\r
@@ -632,10 +632,10 @@ public class TenantManage {
                     f.get();\r
                 } catch (InterruptedException e) {\r
                     // TODO Auto-generated catch block\r
-                    e.printStackTrace();\r
+                    LOG.error("Exception:",e);\r
                 } catch (ExecutionException e) {\r
                     // TODO Auto-generated catch block\r
-                    e.printStackTrace();\r
+                    LOG.error("Exception:",e);\r
                 }\r
             }\r
         }\r
@@ -661,10 +661,10 @@ public class TenantManage {
                   f.get();\r
               } catch (InterruptedException e) {\r
                   // TODO Auto-generated catch block\r
-                  e.printStackTrace();\r
+                  LOG.error("Exception:",e);\r
               } catch (ExecutionException e) {\r
                   // TODO Auto-generated catch block\r
-                  e.printStackTrace();\r
+                  LOG.error("Exception:",e);\r
               }\r
           }\r
         }\r