[JAVA-313] several commands do not call res.throwOnError(), instead make up their own exception Created: 29/Mar/11  Updated: 07/Apr/11  Resolved: 29/Mar/11

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

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


 Description   

most likely this is legacy code.
Problem is that the made up exception is usually not helpful and has no code.



 Comments   
Comment by auto [ 29/Mar/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-313: several commands do not call res.throwOnError(), instead make up their own exception
https://github.com/mongodb/mongo-java-driver/commit/e9c3858e4ce91753440add23235a0fad62c46f04

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