public class MongoIncompatibleDriverException extends MongoException
| 构造器和说明 |
|---|
MongoIncompatibleDriverException(java.lang.String message,
ClusterDescription clusterDescription)
Construct a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClusterDescription |
getClusterDescription()
The cluster description which was determined to be incompatible.
|
fromThrowable, getCodepublic MongoIncompatibleDriverException(java.lang.String message,
ClusterDescription clusterDescription)
message - the error messageclusterDescription - the cluster descriptionpublic ClusterDescription getClusterDescription()