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, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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–2020 Pivotal Software, Inc.. All rights reserved.