Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
Modifier and Type | Class and Description |
---|---|
class |
DuplicateKeyException
Subclass of
WriteConcernException representing a duplicate key exception |
Modifier and Type | Method and Description |
---|---|
(package private) static WriteConcernException |
DBCollection.createWriteConcernException(MongoWriteConcernException e) |
Modifier and Type | Method and Description |
---|---|
private BsonDocument |
WriteProtocol.getResponseDocument(RequestMessage curMessage,
RequestMessage nextMessage,
WriteConcernResult writeConcernResult,
WriteConcernException writeConcernException) |
private void |
WriteProtocol.sendSucceededEvent(InternalConnection connection,
RequestMessage message,
RequestMessage nextMessage,
WriteConcernException e,
long startTimeNanos) |
Modifier and Type | Method and Description |
---|---|
(package private) BulkWriteError |
MixedBulkWriteOperation.Run.BaseRunExecutor.getBulkWriteError(WriteConcernException writeException) |
(package private) WriteConcernError |
MixedBulkWriteOperation.Run.BaseRunExecutor.getWriteConcernError(WriteConcernException writeException) |