diff options
Diffstat (limited to 'ResmanagementService/service')
-rw-r--r-- | ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java index cc64ca1..89b207b 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java @@ -32,6 +32,7 @@ import org.slf4j.LoggerFactory; public class HttpsRest extends HttpBaseRest { private static final Logger LOG = LoggerFactory.getLogger(HttpsRest.class); + public static final String IOEXCEPTION = "IOException"; public void initHttpsRest() { SslContextFactory sslContextFactory = new SslContextFactory(); @@ -187,7 +188,7 @@ public class HttpsRest extends HttpBaseRest { try { client.send(exchange); } catch(IOException e) { - LOG.error("IOException", e); + LOG.error(IOEXCEPTION, e); } try { int exchangeState = exchange.waitForDone(); @@ -230,7 +231,7 @@ public class HttpsRest extends HttpBaseRest { try { client.send(exchange); } catch(IOException e) { - LOG.error("IOException", e); + LOG.error(IOEXCEPTION, e); } try { @@ -282,7 +283,7 @@ public class HttpsRest extends HttpBaseRest { try { client.send(exchange); } catch(IOException e) { - LOG.error("IOException", e); + LOG.error(IOEXCEPTION, e); } try { |