Package | Description |
---|---|
com.mongodb |
Main package with core files.
|
Modifier and Type | Class and Description |
---|---|
class |
CommandFailureException
An exception indicating a failed command.
|
static class |
DBPortPool.ConnectionWaitTimeOut |
static class |
DBPortPool.NoMoreConnection |
static class |
DBPortPool.SemaphoresOut |
static class |
MongoException.CursorNotFound
Subclass of MongoException representing a cursor-not-found exception
|
static class |
MongoException.DuplicateKey
Subclass of WriteConcernException representing a duplicate key error
|
static class |
MongoException.Network
Subclass of MongoException representing a network-related exception
|
class |
MongoInternalException
An Mongo exception internal to the driver, not carrying any error code
|
class |
MongoInterruptedException
A non-checked exception indicating that the driver has been interrupted by a call to Thread.interrupt.
|
class |
WriteConcernException
An exception representing an error reported due to a write failure.
|
Modifier and Type | Method and Description |
---|---|
MongoException |
CommandResult.getException()
utility method to create an exception with the command name
|
Modifier and Type | Method and Description |
---|---|
DBObject |
DBRefBase.fetch()
fetches the object referenced from the database
|