Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
com.mongodb.bulk |
Contains classes for representing the result of a bulk write operation.
|
Modifier and Type | Method and Description |
---|---|
WriteError |
MongoWriteException.getError()
Gets the error.
|
Constructor and Description |
---|
MongoWriteException(WriteError error,
ServerAddress serverAddress)
Construct an instance
|
WriteError(WriteError writeError)
Construct an instance that is a shallow copy of the given instance.
|
Modifier and Type | Class and Description |
---|---|
class |
BulkWriteError
Represents an error for an item included in a bulk write operation, e.g.
|
Copyright © 2016. All Rights Reserved.