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.
|
Modifier and Type | Class and Description |
---|---|
class |
BulkWriteException
An exception that represents all errors associated with a bulk write operation.
|
class |
DuplicateKeyException
Subclass of
WriteConcernException representing a duplicate key exception |
class |
MongoBulkWriteException
An exception that represents all errors associated with a bulk write operation.
|
class |
MongoCommandException
An exception indicating that a command sent to a MongoDB server returned a failure.
|
class |
MongoCursorNotFoundException
Subclass of
MongoException representing a cursor-not-found exception. |
class |
MongoNodeIsRecoveringException
An exception indicating that the server is a member of a replica set but is in recovery mode, and therefore refused to execute
the operation.
|
class |
MongoNotPrimaryException
An exception indicating that the server is a member of a replica set but is not the primary, and therefore refused to execute either a
write operation or a read operation that required a primary.
|
class |
MongoQueryException
An exception indicating that a query operation failed on the server.
|
class |
MongoWriteConcernException
An exception indicating a failure to apply the write concern to the requested write operation
|
class |
MongoWriteException
An exception indicating the failure of a write operation.
|
class |
WriteConcernException
An exception representing an error reported due to a write failure.
|
Copyright © 2016. All Rights Reserved.