mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-19 07:53:08 +00:00
[DS-4522] Use more generic IdentifierNotApplicableException where applicable
This commit is contained in:
@@ -891,7 +891,7 @@ public class DOIIdentifierProvider extends FilteredIdentifierProvider {
|
||||
* DOI is registered for another object already.
|
||||
*/
|
||||
protected DOI loadOrCreateDOI(Context context, DSpaceObject dso, String doiIdentifier)
|
||||
throws SQLException, DOIIdentifierException {
|
||||
throws SQLException, DOIIdentifierException, IdentifierNotApplicableException {
|
||||
return loadOrCreateDOI(context, dso, doiIdentifier, false);
|
||||
}
|
||||
|
||||
@@ -911,7 +911,7 @@ public class DOIIdentifierProvider extends FilteredIdentifierProvider {
|
||||
* @throws DOIIdentifierException
|
||||
*/
|
||||
protected DOI loadOrCreateDOI(Context context, DSpaceObject dso, String doiIdentifier, Boolean skipFilter)
|
||||
throws SQLException, DOIIdentifierException {
|
||||
throws SQLException, DOIIdentifierException, IdentifierNotApplicableException {
|
||||
|
||||
DOI doi = null;
|
||||
|
||||
|
Reference in New Issue
Block a user