@@ -140,10 +140,23 @@ return string; asprintf(&string, "Value out of range in object of class %s!", object != nil ? [object name] : "(null)"); + return string; +} +@end + +@implementation OFCharsetConversionFailedException +- (char*)cString +{ + if (string != NULL) + return string; + + asprintf(&string, "Charset conversion failed in object of classs %s!", + [object name]); + return string; } @end @implementation OFOpenFileFailedException