[JAVA-1602] Add error categories to com.mongodb.WriteError Created: 23/Dec/14  Updated: 31/Mar/15  Resolved: 08/Jan/15

Status: Closed
Project: Java Driver
Component/s: API, Write Operations
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

So that users can distinguish a duplicate key error without having to check error codes in their own code.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added ErrorCategory enumeration and an ErrorCategory property in WriteError. This will help users to more easily detect duplicate key errors using the new CRUD API.

JAVA-1602
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/fdcd404f72f4672954fd40952c67b2b2706daa26

Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added ErrorCategory enumeration and an ErrorCategory property in WriteError. This will help users to more easily detect duplicate key errors using the new CRUD API.

JAVA-1602
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/fdcd404f72f4672954fd40952c67b2b2706daa26

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