public class MongoClientException extends MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
Constructor and Description |
---|
MongoClientException(java.lang.String message)
Constructs a new instance.
|
MongoClientException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new instance.
|
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
public MongoClientException(java.lang.String message)
message
- the messagepublic MongoClientException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the causeCopyright © 2010 - 2020 Adobe. All Rights Reserved