Skip to content

Commit

Permalink
Remove throws for RuntimeException, InterruptedException (#36841)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwatrous authored and skapur12 committed Apr 3, 2024
1 parent 7c03dc9 commit 80cfc69
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2123,8 +2123,7 @@ public void reactivate(
* network exception.
* @throws InterruptedException Exception thrown if any thread has interrupted the current thread.
*/
public void createTasks(String jobId, List<BatchTaskCreateParameters> taskList)
throws RuntimeException, InterruptedException {
public void createTasks(String jobId, List<BatchTaskCreateParameters> taskList) {
createTasks(jobId, taskList, null);
}

Expand Down Expand Up @@ -2276,8 +2275,7 @@ public void run() {
public void createTasks(
String jobId,
List<BatchTaskCreateParameters> taskList,
BatchClientParallelOptions batchClientParallelOptions)
throws RuntimeException, InterruptedException {
BatchClientParallelOptions batchClientParallelOptions) {
int threadNumber = 1;
// Get user defined thread number
if (batchClientParallelOptions != null) {
Expand Down

0 comments on commit 80cfc69

Please sign in to comment.