Class ConcurrencyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.taskana.common.api.exceptions.TaskanaException
-
- pro.taskana.common.api.exceptions.ConcurrencyException
-
- All Implemented Interfaces:
Serializable
public class ConcurrencyException extends TaskanaException
This exception is thrown when an attempt is made to update an object that has already been updated by another user.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConcurrencyException(String entityId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEntityId()StringtoString()-
Methods inherited from class pro.taskana.common.api.exceptions.TaskanaException
getErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
ERROR_KEY
public static final String ERROR_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConcurrencyException
public ConcurrencyException(String entityId)
-
-
Method Detail
-
getEntityId
public String getEntityId()
-
toString
public String toString()
- Overrides:
toStringin classTaskanaException
-
-