public class MongoSocketException extends MongoException
MongoException representing a network-related exception| 构造器和说明 |
|---|
MongoSocketException(java.lang.String message,
ServerAddress serverAddress)
Construct a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ServerAddress |
getServerAddress()
Gets the server address for this exception.
|
fromThrowable, getCodepublic MongoSocketException(java.lang.String message,
ServerAddress serverAddress)
message - the messageserverAddress - the addresspublic ServerAddress getServerAddress()