diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2018-02-08 17:19:55 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2018-02-08 17:19:55 +0530 |
commit | 02120d6ea475ddb4cf4de2d5104dbd48426bc4ee (patch) | |
tree | a41499a606ea609930dbb08c350d791a1d41445a /src/main/java/com | |
parent | 82765e74a39c5f770e84f5fbe9bc285b404c0f78 (diff) |
sonar critical for Exception Handling
Interrupted this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.mirroragent%3AdmaapMMAgent#resolved=false|severities=CRITICAL|assignees=Soumendu
Location:
src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
Line No-485
Change-Id: I53b7a26028db85cc592a2502ad9b681143a84e38
Issue-ID: DMAAP-243
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java index ad1e20f..cd571a9 100644 --- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java @@ -490,6 +490,8 @@ public class MirrorMakerAgent { try { Thread.sleep(1000); } catch (InterruptedException e) { + logger.log(Level.WARN, "Interrupted!", e); + Thread.currentThread().interrupt(); } } catch (IOException ex) { ex.printStackTrace(); |