Remove printStackTrace of exception 65/29565/1
authorluxin <luxin7@huawei.com>
Tue, 30 Jan 2018 01:51:10 +0000 (09:51 +0800)
committerluxin <luxin7@huawei.com>
Tue, 30 Jan 2018 01:51:10 +0000 (09:51 +0800)
Change-Id: Icc2749ba0d5de8875102b78846064326a3d6d281
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java

index 1ae1ca4..e8fa42a 100644 (file)
@@ -44,7 +44,6 @@ public class HttpsRest extends HttpBaseRest {
             client.start();
         } catch(Exception e) {
             LOG.error("Exception", e);
-            e.printStackTrace();
         }
     }
 
@@ -169,7 +168,6 @@ public class HttpsRest extends HttpBaseRest {
             client.send(exchange);
         } catch(IOException e) {
             LOG.error("IOException", e);
-            e.printStackTrace();
         }
         try {
             int exchangeState = exchange.waitForDone();
@@ -190,10 +188,8 @@ public class HttpsRest extends HttpBaseRest {
             }
         } catch(InterruptedException e) {
             LOG.error("InterruptedException", e);
-            e.printStackTrace();
         } catch(UnsupportedEncodingException e) {
             LOG.error("UnsupportedEncodingException", e);
-            e.printStackTrace();
         }
         return null;
     }
@@ -213,7 +209,6 @@ public class HttpsRest extends HttpBaseRest {
             client.send(exchange);
         } catch(IOException e) {
             LOG.error("IOException", e);
-            e.printStackTrace();
         }
 
         try {
@@ -235,10 +230,8 @@ public class HttpsRest extends HttpBaseRest {
             }
         } catch(InterruptedException e) {
             LOG.error("InterruptedException", e);
-            e.printStackTrace();
         } catch(UnsupportedEncodingException e) {
             LOG.error("UnsupportedEncodingException", e);
-            e.printStackTrace();
         }
         return null;
     }
@@ -266,7 +259,6 @@ public class HttpsRest extends HttpBaseRest {
             client.send(exchange);
         } catch(IOException e) {
             LOG.error("IOException", e);
-            e.printStackTrace();
         }
 
         try {
@@ -288,10 +280,8 @@ public class HttpsRest extends HttpBaseRest {
             }
         } catch(InterruptedException e) {
             LOG.error("InterruptedException", e);
-            e.printStackTrace();
         } catch(UnsupportedEncodingException e) {
             LOG.error("InterruptedException", e);
-            e.printStackTrace();
         }
         return null;
     }