Serializablepublic class MongoIncompatibleDriverException extends MongoException
| Constructor | Description |
|---|---|
MongoIncompatibleDriverException(String message,
ClusterDescription clusterDescription) |
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
ClusterDescription |
getClusterDescription() |
The cluster description which was determined to be incompatible.
|
fromThrowable, fromThrowableNonNull, getCodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MongoIncompatibleDriverException(String message, ClusterDescription clusterDescription)
message - the error messageclusterDescription - the cluster descriptionpublic ClusterDescription getClusterDescription()