public class MongoTransactionException extends ClientSessionException
ClientSessionException related to issues with a transaction such as aborted or non existing
transactions.| Constructor and Description |
|---|
MongoTransactionException(String msg)
Constructor for
MongoTransactionException. |
MongoTransactionException(String msg,
Throwable cause)
Constructor for
ClientSessionException. |
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MongoTransactionException(String msg)
MongoTransactionException.msg - the detail message. Must not be null.public MongoTransactionException(@Nullable String msg, @Nullable Throwable cause)
ClientSessionException.msg - the detail message. Can be null.cause - the root cause. Can be null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.