From: Jegadeesh Babu Date: Tue, 26 Feb 2019 10:16:27 +0000 (+0530) Subject: Handled interrupted exception X-Git-Tag: 1.5.0~145 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F79164%2F4;p=appc.git Handled interrupted exception Sonar fix Issue-ID: APPC-1490 Change-Id: I261e2d4739bf5a1d3f11dc1774b04da98a366c16 Signed-off-by: Jegadeesh Babu --- diff --git a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java index 8694bface..c66311d58 100644 --- a/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java +++ b/appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java @@ -6,6 +6,8 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ============================================================================= + * Modifications Copyright (C) 2019 IBM + * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -59,6 +61,7 @@ abstract class AbstractRequestResponseHandler implements RequestResponseHandler } }); } catch (InterruptedException e) { + Thread.currentThread().interrupt(); LOG.error("could not handle response <" + response + "> of corrID <" + corrID + ">", e); } }