CreateTasksErrorException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. rest. RestException - com.
microsoft. azure. batch. protocol. models. BatchErrorException - com.
microsoft. azure. batch. CreateTasksErrorException
- com.
- com.
- com.
- java.
- java.
- java.
public class CreateTasksErrorException
extends BatchErrorException
The exception that is thrown when the createTasks(String jobId, List<TaskAddParameter> taskList) operation is terminated.
Constructor Summary
Constructor | Description |
---|---|
CreateTasksErrorException(String message, List<TaskAddResult> failureTaskList, List<TaskAddParameter> pendingTaskList) |
Initializes a new instance of the Create |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Task |
failureTaskList() |
List<Task |
pendingTaskList() |
Methods inherited from BatchErrorException
Methods inherited from com.microsoft.rest.RestException
com.microsoft.rest.RestException.response
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
addSuppressed
fillInStackTrace
getCause
getLocalizedMessage
getMessage
getStackTrace
getSuppressed
initCause
printStackTrace
printStackTrace
printStackTrace
setStackTrace
toString
Constructor Details
CreateTasksErrorException
public CreateTasksErrorException(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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for