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.
See Also:
  • Field Details

  • Constructor Details

    • ObjectReferencePersistenceException

      public ObjectReferencePersistenceException(String objectReferenceId, String taskId, Throwable cause)
  • Method Details

    • getObjectReferenceId

      public String getObjectReferenceId()
    • getTaskId

      public String getTaskId()