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 Mar 7, 2024
1 parent ea4de89 commit ce163d0
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 ce163d0

Please sign in to comment.