Validation of the tableName argument