throwIfNotEmpty