On Nov 1, 2010, at 8:24 PM, Jeff Johnson wrote: > > Note that the mongo-c-driver uses MONGO_TRY ... MONGO_CATCH ... MONGO_THROW > in only a few places, and (I'll bet) none of those places are nested. >
Actually I lose that bet: there's MONGO_RETHROW too. But study rpmio/mongo.c if you want ruby exception handling. If you succeed, I'll figger some places to plant the exception data structure. E.g. what mongo calls a "connection" rpm likely calls the same a FD_t. hth 73 de Jeff ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org