mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 21:43:11 +00:00
[DS-4548] Satisfy Checkstyle.
This commit is contained in:
@@ -240,7 +240,9 @@ public class VersionedHandleIdentifierProvider extends IdentifierProvider {
|
||||
try {
|
||||
handleService.createHandle(context, dso, identifier);
|
||||
} catch (IllegalStateException | SQLException e) {
|
||||
log.error(LogHelper.getHeader(context, "Error while attempting to create handle", "Item id: " + dso.getID()), e);
|
||||
log.error(LogHelper.getHeader(context,
|
||||
"Error while attempting to create handle",
|
||||
"Item id: " + dso.getID()), e);
|
||||
throw new RuntimeException("Error while attempting to create identifier for Item id: " + dso.getID());
|
||||
}
|
||||
}
|
||||
@@ -273,7 +275,9 @@ public class VersionedHandleIdentifierProvider extends IdentifierProvider {
|
||||
}
|
||||
return handleId;
|
||||
} catch (SQLException | AuthorizeException e) {
|
||||
log.error(LogHelper.getHeader(context, "Error while attempting to create handle", "Item id: " + dso.getID()), e);
|
||||
log.error(LogHelper.getHeader(context,
|
||||
"Error while attempting to create handle",
|
||||
"Item id: " + dso.getID()), e);
|
||||
throw new RuntimeException("Error while attempting to create identifier for Item id: " + dso.getID());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user