@@ -38,19 +38,19 @@ pool = [[OFAutoreleasePool alloc] init]; if ((class = objc_lookUpClass([name cStringWithEncoding: OF_STRING_ENCODING_ASCII])) == Nil) - @throw [OFNotImplementedException newWithClass: Nil]; + @throw [OFNotImplementedException exceptionWithClass: Nil]; if (![class conformsToProtocol: @protocol(OFSerialization)]) @throw [OFNotImplementedException - newWithClass: class - selector: @selector(initWithSerialization:)]; + exceptionWithClass: class + selector: @selector(initWithSerialization:)]; object = [[class alloc] initWithSerialization: self]; [pool release]; return [object autorelease]; } @end