@@ -27,11 +27,11 @@ return [[[self alloc] initWithClass: class_] autorelease]; } - init { - Class c = isa; + Class c = [self class]; [self release]; @throw [OFNotImplementedException exceptionWithClass: c selector: _cmd]; } @@ -60,10 +60,11 @@ { if (description != nil) return description; description = [[OFString alloc] initWithFormat: - @"An exception of class %@ occurred in class %@", isa, inClass]; + @"An exception of class %@ occurred in class %@", + object_getClass(self), inClass]; return description; } @end