Class CreateTasksErrorException

    • Constructor Detail

      • CreateTasksErrorException

        public CreateTasksErrorException​(String message,
                                         List<TaskAddResult> failureTaskList,
                                         List<TaskAddParameter> pendingTaskList)
        Initializes a new instance of the CreateTasksErrorException class.
        Parameters:
        message - The exception message.
        failureTaskList - The list of TaskAddResult instances containing failure details for tasks that were not successfully created.
        pendingTaskList - The list of TaskAddParameter instances containing the tasks that were not added, but for which the operation can be retried.
    • Method Detail

      • failureTaskList

        public List<TaskAddResult> failureTaskList()
        Returns:
        The list of TaskAddResult instances containing failure details for tasks that were not successfully created.
      • pendingTaskList

        public List<TaskAddParameter> pendingTaskList()
        Returns:
        The list of TaskAddParameter instances containing the tasks that were not added, but for which the operation can be retried.