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>
private static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(SSLContextProvider.class);
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);
try {
final SSLContext ctx = SSLContext.getInstance("TLSv1.2");
KeyManager[] keyManagers = getKeyManagerFactory(keystorePath, keystorePassword, httpClientMode);