Package org.springframework.data.mongodb
Class TransientClientSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.TransientDataAccessException
org.springframework.data.mongodb.TransientMongoDbException
org.springframework.data.mongodb.TransientClientSessionException
- All Implemented Interfaces:
Serializable
TransientDataAccessException
specific to MongoDB ClientSession
related data
access failures such as reading data using an already closed session.- Since:
- 4.4
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorDescriptionTransientClientSessionException
(String msg, Throwable cause) Constructor forTransientClientSessionException
. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransientClientSessionException
Constructor forTransientClientSessionException
.- Parameters:
msg
- the detail message.cause
- the root cause.
-