Class ObjectReferencePersistenceException

  • All Implemented Interfaces:
    Serializable

    public class ObjectReferencePersistenceException
    extends TaskanaException
    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:
    Serialized Form
    • Constructor Detail

      • ObjectReferencePersistenceException

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

      • getObjectReferenceId

        public String getObjectReferenceId()
      • getTaskId

        public String getTaskId()