Merge "sonar critical for Exception handling"
authorvarun gudisena <vg411h@att.com>
Tue, 6 Feb 2018 14:25:32 +0000 (14:25 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 6 Feb 2018 14:25:32 +0000 (14:25 +0000)
src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java

index d217f27..37236f3 100644 (file)
@@ -152,6 +152,7 @@ public class MirrorMakerAgent {
                        }
                        input = new FileInputStream(mmagenthome + "/etc/" + agentName + propName + ".properties");
                } catch (IOException ex) {
+                       logger.error(" IOException will be handled " + ex);
                        try {
                                input = new FileInputStream(mmagenthome + "/etc/" + propName + ".properties");
                                Properties prop = new Properties();

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use