public class WriteConcernError extends Object
Constructor and Description |
---|
WriteConcernError(int code,
String message,
DBObject details)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCode()
Gets the code associated with this error.
|
DBObject |
getDetails()
Gets the details associated with this error.
|
String |
getMessage()
Gets the message associated with this error.
|
int |
hashCode() |
String |
toString() |
public int getCode()
public String getMessage()
public DBObject getDetails()