java.lang.Object | |
↳ | com.mongodb.ServerError |
Represents a server error
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the error code
| |||||||||||
Gets the error String
| |||||||||||
returns true if the error is "not master", which usually happens when doing operation on slave
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the error code
returns true if the error is "not master", which usually happens when doing operation on slave