Remove declaration of thrown exception 17/93017/2
authoranushadasari <danush10@in.ibm.com>
Thu, 8 Aug 2019 07:48:25 +0000 (13:18 +0530)
committerIttay Stern <ittay.stern@att.com>
Mon, 12 Aug 2019 08:12:47 +0000 (08:12 +0000)
Remove the declaration of thrown exception 'org.onap.vid.aai.exceptions.HttpClientBuilderException' which is a runtime exception.

Issue-ID: VID-559
Change-Id: I8fe8c29e3aa1d4b0b35522931057efa260c60206
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/java/org/onap/vid/aai/util/SSLContextProvider.java

index 8a67460..400e788 100644 (file)
@@ -34,7 +34,7 @@ public class SSLContextProvider {
 
     private static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(SSLContextProvider.class);
 
-    public SSLContext getSslContext(String keystorePath, String keystorePassword, HttpClientMode httpClientMode) throws HttpClientBuilderException {
+    public SSLContext getSslContext(String keystorePath, String keystorePassword, HttpClientMode httpClientMode){
         try {
             final SSLContext ctx = SSLContext.getInstance("TLSv1.2");
             KeyManager[] keyManagers = getKeyManagerFactory(keystorePath, keystorePassword, httpClientMode);