Package org.springframework.data.mongodb
Class ClientSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.data.mongodb.ClientSessionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MongoTransactionException
NonTransientDataAccessException specific to MongoDB ClientSession related data
 access failures such as reading data using an already closed session.- Since:
- 2.1
- Author:
- Christoph Strobl
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor forClientSessionException.ClientSessionException(String msg, Throwable cause) Constructor forClientSessionException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ClientSessionExceptionConstructor forClientSessionException.- Parameters:
- msg- the detail message. Must not be null.
 
- 
ClientSessionExceptionConstructor forClientSessionException.- Parameters:
- msg- the detail message. Can be null.
- cause- the root cause. Can be null.
 
 
-