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