Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQ-32hFUzlqc5bm&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java
Line No:509
Change-Id: I15c417bc47ceac7c7001ba96d1796ef883700886
Issue-ID: DMAAP-348
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
}
adds.append("filter=").append(URLEncoder.encode(fFilter, "UTF-8"));
} catch (UnsupportedEncodingException e) {
- throw new RuntimeException(e.getMessage() + "....say whaaaat?!");
+ log.error("exception at createUrlPath () : ", e);
}
}
if (adds.length() > 0) {