Skip to content

Commit 8f7ae0f

Browse files
committed
combined exceptions
1 parent d0a70ab commit 8f7ae0f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/java/org/dspace/ctask/replicate/METSRestoreFromAIP.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,8 @@ private void restoreObject(Context context, ReplicaManager repMan, File archive,
167167
}
168168
}
169169
}
170-
} catch (AuthorizeException authE) {
170+
} catch (AuthorizeException | SQLException authE) {
171171
throw new IOException(authE);
172-
} catch (SQLException sqlE) {
173-
throw new IOException(sqlE);
174172
}
175173
}
176174

0 commit comments

Comments
 (0)