@@ -35,19 +35,17 @@ Class class; id object; if ((class = objc_getClass([_name cStringWithEncoding: OF_STRING_ENCODING_ASCII])) == Nil) - @throw [OFInvalidArgumentException - exceptionWithClass: [self class]]; + @throw [OFInvalidArgumentException exception]; if (![class conformsToProtocol: @protocol(OFSerialization)]) - @throw [OFInvalidArgumentException - exceptionWithClass: [self class]]; + @throw [OFInvalidArgumentException exception]; object = [[class alloc] initWithSerialization: self]; objc_autoreleasePoolPop(pool); return [object autorelease]; } @end