wuchenxi123 commented on pull request #11112:
URL: https://github.com/apache/pulsar/pull/11112#issuecomment-869162324


   > 你能解释一下为什么你在`close()`while fail fast in 
中吞下了异常`setup()`吗?对于您的情况,`preProcess`不应抛出已检查的异常。
   > 
   > 此外,IMO 仅用`Exception`作已检查异常而不是`Exception`.
   
   
   
   > Could you explain why did you swallow the exception in `close()` while 
fail fast in `setup()`? For your case, `preProcess` should not throw a checked 
exception.
   > 
   > In addition, IMO it's not a good practice to just use `Exception` as the 
checked exception but not the subclass of `Exception`.
   
   Accept your suggestion, I have corrected your problem
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to