@@ -293,10 +293,23 @@ "object of class %s!", req_items, req_size, [object name]); else asprintf(&string, "Failed to write %zu bytes in object of " "class %s!", req_size, [object name]); + return string; +} +@end + +@implementation OFSetOptionFailedException +- (const char*)cString +{ + if (string != NULL) + return string; + + asprintf(&string, "Setting an option for an object of type type %s " + "failed!", [object name]); + return string; } @end @implementation OFNotConnectedException