do we have to recover the InterruptedException? I do not call the interrupt method at all
posted 11 years ago
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".