Class MongoConcurrentUtils.ContentionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.getelements.elements.dao.mongo.MongoConcurrentUtils.OptimistcException
dev.getelements.elements.dao.mongo.MongoConcurrentUtils.ContentionException
- All Implemented Interfaces:
Serializable
- Enclosing class:
MongoConcurrentUtils
public static class MongoConcurrentUtils.ContentionException
extends MongoConcurrentUtils.OptimistcException
Thrown when the operation fails. In the event an
MongoConcurrentUtils.CriticalOperation
fails because the object has changed, this exception may be raised to re-attempt the operation.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContentionException
(String message) ContentionException
(String message, Throwable cause) ContentionException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) ContentionException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContentionException
public ContentionException() -
ContentionException
-
ContentionException
-
ContentionException
-
ContentionException
-