Serializable
public class MongoSocketReadException extends MongoSocketException
Constructor | Description |
---|---|
MongoSocketReadException(String message,
ServerAddress address) |
Construct a new instance.
|
MongoSocketReadException(String message,
ServerAddress address,
Throwable cause) |
Construct a new instance.
|
fromThrowable, fromThrowableNonNull, getCode
getServerAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MongoSocketReadException(String message, ServerAddress address)
message
- the messageaddress
- the addresspublic MongoSocketReadException(String message, ServerAddress address, Throwable cause)
message
- the messageaddress
- the addresscause
- the cause