Serializablepublic 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, removeLabelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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