Hi All,
I'm a little bit confused about task 1.1.1
In the DB-interface I found:
Here is everything Ok.
Before lock the record with number recNo, I have to check whether this record exists in the database file.
If record does not exist or deleted - throw RecordNotFoundException.
But what I do not understand:
why do we need RecordNotFoundException for unlock?
for example, if I write something like
- should RecordNotFoundException occur - it will happen in the lock-method.
