Package org.springframework.data.mongodb
Class TransientMongoDbException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TransientClientSessionException
Root of the hierarchy of MongoDB specific data access exceptions that are considered transient such as
MongoExceptions
carrying specific labels
.- Since:
- 4.4
- Author:
- Christoph Strobl
- See Also:
-
Constructor Summary
ConstructorDescriptionTransientMongoDbException
(String msg, Throwable cause) Constructor forTransientMongoDbException
. -
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
-
TransientMongoDbException
Constructor forTransientMongoDbException
.- Parameters:
msg
- the detail message.cause
- the root cause.
-