Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to catch SSLHandshakeException in Jira Client

Arundathi Giri Vardhan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2019

I am not able to catch the SSLHandshakeException within the catch block and suspect it to be the asynchronous nature of AsynchronousJiraRestClientFactory. Any thoughts on getting it right. I want to execute a retry operation on catching the exception.

 

   try {        
URI jiraServerUri
= URI.create(uri); JiraRestClientFactory factory = new AsynchronousJiraRestClientFactory(); JiraRestClient restClient = factory.createWithBasicHttpAuthentication(jiraServerUri, username, password); return restClient; } catch (Exception e) {
logger
.error("Caught exception ", e); throw e; }

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events