Serializablepublic class MongoSocketReadException extends MongoSocketException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL| Constructor | Description |
|---|---|
MongoSocketReadException(String message,
ServerAddress address) |
Construct a new instance.
|
MongoSocketReadException(String message,
ServerAddress address,
Throwable cause) |
Construct a new instance.
|
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabelgetServerAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MongoSocketReadException(String message, ServerAddress address)
message - the messageaddress - the addresspublic MongoSocketReadException(String message, ServerAddress address, Throwable cause)
message - the messageaddress - the addresscause - the cause