void mySubTask(){
try{sleep(delay)}
catch(InterruptedException e){Thread.currentThread.interrupt();}
}
this string of code is a concurrent section of "java Core Technology". 14.2 interrupt thread, 634 pages.
when a thread is in a blocking state, sending an interrupt signal to it causes an InterruptedException exception to be thrown. So why does the above code set the break state to this exception after it has been caught? In other words, what"s the point of setting the interrupt state here?