public class MongoIncompatibleDriverException extends MongoException
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.
|
fromThrowable, getCode
public MongoIncompatibleDriverException(java.lang.String message, ClusterDescription clusterDescription)
message
- the error messageclusterDescription
- the cluster descriptionpublic ClusterDescription getClusterDescription()