CreateTasksErrorException Class
- java.
lang. Object - RestException
- BatchErrorException
- com.
microsoft. azure. batch. CreateTasksErrorException
- com.
public class CreateTasksErrorException extends BatchErrorException
The exception that is thrown when the TaskOperations#createTasks(String, List) operation is terminated.
Constructor Summary
Constructor | Description |
---|---|
CreateTasksErrorException(final String message, List<TaskAddResult> failureTaskList, List<TaskAddParameter> pendingTaskList) |
Initializes a new instance of the CreateTasksErrorException class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Task |
failureTaskList() |
List<Task |
pendingTaskList() |
Inherited Members
BatchErrorException.BatchErrorException(final String message, final Response<ResponseBody> response)
BatchErrorException.BatchErrorException(final String message, final Response<ResponseBody> response, final BatchError body)
BatchErrorException.body()
Constructor Details
CreateTasksErrorException
public CreateTasksErrorException(final String message, List
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 Details
failureTaskList
public List
Returns:
The list of TaskAddResult instances containing failure details for tasks that were not successfully created.
pendingTaskList
public List
Returns:
The list of TaskAddParameter instances containing the tasks that were not added, but for which the operation can be retried.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java