I've searched some answer ,like this
But my problem is that , I can't modify the code of the caller.
Suppose i have a function process()
import from other module, and this function will start three threads, and finally return.I can't modify the codes of process()
, so how can i catch exceptions of the three threads?
Is there any possibility?