raise exception for invalid records on save operation