Serializable
public final class MongoClientEmbeddedException extends MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
Constructor | Description |
---|---|
MongoClientEmbeddedException(int errorCode,
int subErrorCode,
String reason) |
Constructs a new instance
|
MongoClientEmbeddedException(String message) |
Constructs a new instance.
|
MongoClientEmbeddedException(String message,
Throwable cause) |
Constructs a new instance.
|
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MongoClientEmbeddedException(int errorCode, int subErrorCode, String reason)
errorCode
- the error codesubErrorCode
- the sub category error codereason
- the reason for the exceptionpublic MongoClientEmbeddedException(String message)
message
- the message