public class MongoSocketReadException extends MongoSocketException
| Constructor and Description |
|---|
MongoSocketReadException(java.lang.String message,
ServerAddress address)
Construct a new instance.
|
MongoSocketReadException(java.lang.String message,
ServerAddress address,
java.lang.Throwable cause)
Construct a new instance.
|
getServerAddressfromThrowable, getCodepublic MongoSocketReadException(java.lang.String message,
ServerAddress address)
message - the messageaddress - the addresspublic MongoSocketReadException(java.lang.String message,
ServerAddress address,
java.lang.Throwable cause)
message - the messageaddress - the addresscause - the cause