[JAVA-1587] Add new exception types for writes from the new CRUD API Created: 05/Dec/14  Updated: 31/Mar/15  Resolved: 11/Dec/14

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   
  • MongoWriteException
  • MongoWriteConcernException


 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 support for modifiedCount in UpdateResult, which required using MixedBulkWriteOperation for
all writes in the new CRUD API, as only that operation informs the caller of the modifiedCount

As part of this, changed the exception types thrown for all single write operations in the new CRUD API
from WriteConcernException to MongoWriteException/MongoWriteConcernException

JAVA-1569, JAVA-1587
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/2bfd2e2d24983be4ae0b00a0c076590bffc8e313

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 MongoWriteException and MongoWriteConcernException for use in new MongoCollection API.

JAVA-1587
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/931622270dd2def0711285c3a9922bae30854fb0

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: NettyStream does need some synchronization between threads calling readAsync and Netty threads calling methods in InboundBufferHandler class

JAVA-1587
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/10283244d8cee7e173df6d98621a14e085a66c03

Comment by Githook User [ 11/Dec/14 ]

Author:

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

Message: Added support for modifiedCount in UpdateResult, which required using MixedBulkWriteOperation for
all writes in the new CRUD API, as only that operation informs the caller of the modifiedCount

As part of this, changed the exception types thrown for all single write operations in the new CRUD API
from WriteConcernException to MongoWriteException/MongoWriteConcernException

JAVA-1569, JAVA-1587
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/2bfd2e2d24983be4ae0b00a0c076590bffc8e313

Comment by Githook User [ 11/Dec/14 ]

Author:

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

Message: Added MongoWriteException and MongoWriteConcernException for use in new MongoCollection API.

JAVA-1587
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/931622270dd2def0711285c3a9922bae30854fb0

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