Package org.camunda.bpm.engine
Class CrdbTransactionRetryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.camunda.bpm.engine.ProcessEngineException
-
- org.camunda.bpm.engine.OptimisticLockingException
-
- org.camunda.bpm.engine.CrdbTransactionRetryException
-
- All Implemented Interfaces:
Serializable
public class CrdbTransactionRetryException extends OptimisticLockingException
Exception that is thrown when an optimistic locking error occurs in CockroachDB, caused by concurrent access to the same data entries by multiple transactions. CockroachDB optimistic locking errors can't be handled in application code, so the transaction must be rolled back and the involved commands retried.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.ProcessEngineException
code
-
-
Constructor Summary
Constructors Constructor Description CrdbTransactionRetryException(String message)
CrdbTransactionRetryException(String message, Throwable throwable)
-
Method Summary
-
Methods inherited from class org.camunda.bpm.engine.ProcessEngineException
getCode, setCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-