[JAVA-1966] Create reference documentation of changes to exceptions thrown in new CRUD API Created: 15/Sep/15  Updated: 20/Dec/19  Resolved: 20/Dec/19

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: 3.0.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 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.


Generated at Thu Feb 08 08:55:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.