Your application may not be interrupting the threads directly, but InterruptedException is a checked exception, so you will have to deal with it.
I guess you refer to the locking mechanism . There, if an InterruptedException happens, I am throwing a RecordNotFoundException with a message like "The record could not be found because the locking process was interrupted".
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads