yuzhoumao commented on a change in pull request #369:
URL: 
https://github.com/apache/incubator-eventmesh/pull/369#discussion_r640896772



##########
File path: 
eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/http/AbstractLiteClient.java
##########
@@ -46,4 +53,22 @@ public LiteClientConfig getLiteClientConfig() {
     public void shutdown() throws Exception {
         logger.info("AbstractLiteClient shutdown");
     }
+
+    public CloseableHttpClient setHttpClient() throws Exception {

Review comment:
       since like you said the constructor `MyX509TrustManager()` throws a 
generic exception, we can wrap it into an `EventMeshException` object (`throw 
new EventMeshException(e);`)
   
   this way we can just declare that `EventMeshException` would be thrown




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to