How to prevent CompletableFuture chain from continuing down the chain when an exception is thrown?

前端 未结 0 1536
闹比i
闹比i 2020-12-10 09:19

What would be the best way in the supplyAsync method to break out of the CompletableFuture chain when an exception is throw?

public static void r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题