Package com.mongodb.internal.connection
Class MongoWriteConcernWithResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mongodb.MongoException
-
- com.mongodb.internal.connection.MongoWriteConcernWithResponseException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated(since="2021-05-27") public class MongoWriteConcernWithResponseException extends MongoException
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.mongodb.MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
-
-
Constructor Summary
Constructors Constructor Description MongoWriteConcernWithResponseException(MongoException exception, java.lang.Object response)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MongoException
getCause()
Deprecated.java.lang.Object
getResponse()
Deprecated.-
Methods inherited from class com.mongodb.MongoException
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
-
-
-
-
Constructor Detail
-
MongoWriteConcernWithResponseException
public MongoWriteConcernWithResponseException(MongoException exception, java.lang.Object response)
Deprecated.
-
-
Method Detail
-
getCause
public MongoException getCause()
Deprecated.- Overrides:
getCause
in classjava.lang.Throwable
-
getResponse
public java.lang.Object getResponse()
Deprecated.
-
-