Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
Modifier and Type | Method and Description |
---|---|
static ErrorCategory |
ErrorCategory.fromErrorCode(int code)
Translate an error code into an error category
|
ErrorCategory |
WriteError.getCategory()
Gets the category of this error.
|
static ErrorCategory |
ErrorCategory.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCategory[] |
ErrorCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|