public class ClientSessionException extends NonTransientDataAccessException
NonTransientDataAccessException
specific to MongoDB ClientSession
related data
access failures such as reading data using an already closed session.Constructor and Description |
---|
ClientSessionException(String msg)
Constructor for
ClientSessionException . |
ClientSessionException(String msg,
Throwable cause)
Constructor for
ClientSessionException . |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientSessionException(String msg)
ClientSessionException
.msg
- the detail message. Must not be null.public ClientSessionException(@Nullable String msg, @Nullable Throwable cause)
ClientSessionException
.msg
- the detail message. Can be null.cause
- the root cause. Can be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.