public class MongoNodeIsRecoveringException extends MongoCommandException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
Constructor and Description |
---|
MongoNodeIsRecoveringException(BsonDocument response,
ServerAddress serverAddress)
Construct an instance.
|
MongoNodeIsRecoveringException(ServerAddress serverAddress)
Deprecated.
|
getErrorCode, getErrorCodeName, getErrorMessage, getResponse
getServerAddress
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
public MongoNodeIsRecoveringException(BsonDocument response, ServerAddress serverAddress)
response
- the full response from the serverserverAddress
- the address of the server@Deprecated public MongoNodeIsRecoveringException(ServerAddress serverAddress)
MongoNodeIsRecoveringException(BsonDocument, ServerAddress)
serverAddress
- the address of the serverCopyright © 2010 - 2020 Adobe. All Rights Reserved