public class MongoIncompatibleDriverException extends MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL| Constructor and Description |
|---|
MongoIncompatibleDriverException(java.lang.String message,
ClusterDescription clusterDescription)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterDescription |
getClusterDescription()
The cluster description which was determined to be incompatible.
|
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabelpublic MongoIncompatibleDriverException(java.lang.String message,
ClusterDescription clusterDescription)
message - the error messageclusterDescription - the cluster descriptionpublic ClusterDescription getClusterDescription()
Copyright © 2010 - 2023 Adobe. All Rights Reserved