public class CreateTasksErrorException extends BatchErrorException
TaskOperations.createTasks(String, List)
operation is terminated.Constructor and Description |
---|
CreateTasksErrorException(String message,
List<TaskAddResult> failureTaskList,
List<TaskAddParameter> pendingTaskList)
Initializes a new instance of the CreateTasksErrorException class.
|
Modifier and Type | Method and Description |
---|---|
List<TaskAddResult> |
failureTaskList() |
List<TaskAddParameter> |
pendingTaskList() |
body
response
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CreateTasksErrorException(String message, List<TaskAddResult> failureTaskList, List<TaskAddParameter> pendingTaskList)
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.public List<TaskAddResult> failureTaskList()
TaskAddResult
instances containing failure details for tasks that were not successfully created.public List<TaskAddParameter> pendingTaskList()
TaskAddParameter
instances containing the tasks that were not added, but for which the operation can be retried.Copyright © 2019. All rights reserved.