for (Part ee : e.getInfo().getParts()) { if (ee.getException() == null) continue; if (ee.getException().getCause() == null) return; if (ee.getException().getCause() instanceof FileNotFoundException) { f = (FileNotFoundException) ee.getException().getCause(); } else { FileNotFoundException ff = (FileNotFoundException) ee.getException().getCause(); if (!ff.getMessage().equals(f.getMessage())) {
void checkRetry(DownloadMultipartError e) { for (Part ee : e.getInfo().getParts()) { if (!retry(ee.getException())) { throw e; } } }