public class MongoSocketReadException extends MongoSocketException
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| 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, getCodeprivate static final long serialVersionUID
public 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