- throw application exception (or IllegalArgumentException) when criteria is null
- throw IllegalArgumentException when recNo is less than 0 or greater than total number of records in db, instead of RecordNotFoundException
Does it mean I can simply ...
If, after validating the record exists, you loose the mutex on lockedCntrRecords, and someone deletes the record, so what?
If I synchronize on my collection lockedCntrRecords, should I synchronize on that collection within each of the methods?
I'm sorry to border you with this mass of code, but I'm a little bit lost
Should I keep displaying "name" in the JTable Header, or I should display "Hotel Name" instead of "name"?