Package io.kadai.task.api.exceptions
Class ObjectReferencePersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.kadai.common.api.exceptions.KadaiException
io.kadai.task.api.exceptions.ObjectReferencePersistenceException
- All Implemented Interfaces:
Serializable
public class ObjectReferencePersistenceException
extends io.kadai.common.api.exceptions.KadaiException
This exception is thrown when an ObjectReference should be inserted to the DB, but
it does already exist.
This may happen when a not inserted ObjectReference with the same id will be added twice on a Task. This can't happen if the correct Task-Methods will be used instead of the List ones.
This may happen when a not inserted ObjectReference with the same id will be added twice on a Task. This can't happen if the correct Task-Methods will be used instead of the List ones.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObjectReferencePersistenceException
(String objectReferenceId, String taskId, Throwable cause) -
Method Summary
Methods inherited from class io.kadai.common.api.exceptions.KadaiException
ensureNullIsHandled, getErrorCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
ERROR_KEY
- See Also:
-
-
Constructor Details
-
ObjectReferencePersistenceException
-
-
Method Details
-
getObjectReferenceId
-
getTaskId
-