{ // get record object from session
Record rec = getRecordFromSession();
if (rec!=null && (rec instanceof DBRecord))
{ // Check rowset
if (((DBRecord)rec).getRowSet()!=rowset)
throw new ObjectNotValidException(rec);
// Record restored
this.record = (DBRecord)rec;
}
// Record not found
throw new ItemNotFoundException(rowset.getName());