Skip to content

Commit

Permalink
issue with exceptions that can no longer be thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jan 30, 2025
1 parent 37d5e1e commit 725d7d7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.net.HttpURLConnection;
import java.net.InetSocketAddress;
import java.net.MalformedURLException;
Expand Down Expand Up @@ -876,9 +875,7 @@ private T runWithRetry() throws IOException {
}
newIoe.setStackTrace(ioe.getStackTrace());
ioe = newIoe;
} catch (NoSuchMethodException | SecurityException
| InstantiationException | IllegalAccessException
| IllegalArgumentException | InvocationTargetException e) {
} catch (NoSuchMethodException | SecurityException | IllegalArgumentException e) {
}
shouldRetry(ioe, retry);
}
Expand Down

0 comments on commit 725d7d7

Please sign in to comment.