Exception for invalid primaryKeys.