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 Sep 19, 2023
1 parent 0351b5a commit 82ec2d2
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 82ec2d2

Please sign in to comment.