Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
3.0.0
-
None
Description
The reference documentation should call out that some of the exceptions on the write path have changed in the new CRUD API. In particular, MongoWriteException (containing a WriteError whose ErrorCategory is DUPLICATE_KEY) is thrown rather than DuplicateKeyException.
See https://groups.google.com/forum/#!msg/mongodb-user/tNKJ6sczXHI/vlA93RxZCwAJ.