See: Description
Exception | Description |
---|---|
BatchedWriteException |
BatchedWriteException provides a single exception containing the aggregated
errors across the batched writes.
|
CannotConnectException |
CannotConnectException is thrown to report a failure when attempting to
connect to MongoDB.
|
ConnectionLostException |
ConnectionLostException provides a exception thrown when the connection to
the MongoDB server is lost.
|
CursorNotFoundException |
Exception raised when a get_more request is issued for an unknown cursor.
|
DocumentToLargeException |
DocumentToLargeException is thrown to report that an attempt was made to
serialize a Document that is over the maximum size limit.
|
DuplicateKeyException |
Exception raised when an insert encounters a duplicate key error.
|
DurabilityException |
Exception raised when a write encounters a durability violation.
|
JsonException |
JsonException provides an exception to throw when processing JSON documents
fail.
|
JsonParseException |
JsonParseException provides an exception to throw when parsing a JSON
document fails.
|
MaximumTimeLimitExceededException |
Exception raised when a request to the server exceeds the maximum allowed
time.
|
MongoClientClosedException |
MongoClientClosedException is thrown when there is an attempt to send a
message on a closed
MongoClient . |
MongoDbAuthenticationException |
MongoDbAuthenticationException is thrown to report a failure to authenticate
with a MongoDB database.
|
QueryFailedException |
Exception raised when a query fails.
|
ReplyException |
Base class exception for all reply errors.
|
ServerVersionException |
ServerVersionException is thrown to report that an attempt was made to send a
request to a server that required a more recent version of the server.
|
ShardConfigStaleException |
Exception raised when a a request to a shard server is based on an invalid or
stale configuration.
|
MongoDbException
.
All exceptions that are in response to a message from the server inherit
from ReplyException
.
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.