Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
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(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.
|
Copyright © 2016. All Rights Reserved.