Hello Ranchers:
I am trying to run concurrency
test on delete method. My pseudo code is
Consider this scenario:
100 = lockRecord(5)
deleteRecord(5, 100)
unlock(5, 100)
lockRecord(5) will throw RNFE
unlock(5, 0) will throw Security Exception when in theory I was expecting RNFE.
unlock() method had only SecurityException and didnt have RecordNotFoundException in the signature in my
assignment. How is everyone handling this?
Thanks,
Harish