Serializable
public class MongoNodeIsRecoveringException extends MongoCommandException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
Constructor | Description |
---|---|
MongoNodeIsRecoveringExceptionβ(ServerAddress serverAddress) |
Deprecated.
|
MongoNodeIsRecoveringExceptionβ(BsonDocument response,
ServerAddress serverAddress) |
Construct an instance.
|
getErrorCode, getErrorCodeName, getErrorMessage, getResponse
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
getServerAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 server