Here is my case:
I am using the Thread Pool
to run multiple tasks.
I would like to suspend the threads that receive exceptions with some kind of like Eclipse debuger's effect. And when I decide that these suspended threads can be run again, I can resume them to run these tasks.
Can anyone give me any suggestion?