Package com.azure.compute.batch.models
Class CreateTasksErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.compute.batch.models.CreateTasksErrorException
- All Implemented Interfaces:
Serializable
public class CreateTasksErrorException
extends com.azure.core.exception.AzureException
The exception that is thrown when the
BatchClient.createTasks(String, List, BatchClientParallelOptions) operation is terminated.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTasksErrorException(String message, List<BatchTaskAddResult> failureTaskList, List<BatchTaskCreateContent> pendingTaskList) Initializes a new instance of the CreateTasksErrorException class. -
Method Summary
Modifier and TypeMethodDescriptionGets the list ofBatchTaskAddResultinstances containing failure details for tasks that were not successfully created.Gets the list ofBatchTaskinstances containing the tasks that were not added, but for which the operation can be retried.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CreateTasksErrorException
public CreateTasksErrorException(String message, List<BatchTaskAddResult> failureTaskList, List<BatchTaskCreateContent> pendingTaskList) Initializes a new instance of the CreateTasksErrorException class.- Parameters:
message- The exception message.failureTaskList- The list ofBatchTaskAddResultinstances containing failure details for tasks that were not successfully created.pendingTaskList- The list ofBatchTaskinstances containing the tasks that were not added, but for which the operation can be retried.
-
-
Method Details
-
failureTaskList
Gets the list ofBatchTaskAddResultinstances containing failure details for tasks that were not successfully created.- Returns:
- The list of
BatchTaskAddResultinstances containing failure details for tasks that were not successfully created.
-
pendingTaskList
Gets the list ofBatchTaskinstances containing the tasks that were not added, but for which the operation can be retried.- Returns:
- The list of
BatchTaskinstances containing the tasks that were not added, but for which the operation can be retried.
-