Hi,
I wrote a building block of
thread like this:
while(true) {
try {
// doing something
}
catch(RunTimeException e) {
//restart the thread
}
}
but I my question is that if the thread catch a RunTimeException,
would it still run(in the while(true)) or it world die.
If it would die, how could I do to restart the thread
Thanks for every replies.