@@ -428,10 +428,13 @@ pairs = [OFMutableArray arrayWithCapacity: [array count]]; while ((object = [enumerator nextObject]) != nil) { OFINICategory_Pair *pair; + if (![object isKindOfClass: [OFString class]]) + @throw [OFInvalidArgumentException exception]; + pair = [[[OFINICategory_Pair alloc] init] autorelease]; pair->_key = [key copy]; pair->_value = [object copy]; [pairs addObject: pair];