diff options
author | Jegadeesh Babu <jegabab1@in.ibm.com> | 2019-02-26 15:46:27 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-02-27 20:22:10 +0000 |
commit | 32ad33f14a955b10fca06ae457267deb2ff50abd (patch) | |
tree | f6fdcdd11f5357f9185a26db56767f12d53021f7 /appc-client/client-lib/src | |
parent | 8ed27a86af9811816db99195f65fb2a50e4f37b2 (diff) |
Handled interrupted exception
Sonar fix
Issue-ID: APPC-1490
Change-Id: I261e2d4739bf5a1d3f11dc1774b04da98a366c16
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
Diffstat (limited to 'appc-client/client-lib/src')
-rw-r--r-- | appc-client/client-lib/src/main/java/org/onap/appc/client/impl/core/AbstractRequestResponseHandler.java | 3 |
1 files changed, 3 insertions, 0 deletions
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); } } |