mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 06:53:09 +00:00
[DS-2908] Exception is created but not thrown in the CollectionServiceImpl
This commit is contained in:
@@ -337,7 +337,7 @@ public class CollectionServiceImpl extends DSpaceObjectServiceImpl<Collection> i
|
|||||||
collection.setWorkflowStep3(group);
|
collection.setWorkflowStep3(group);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
new IllegalAccessException("Illegal step count: " + step);
|
throw new IllegalArgumentException("Illegal step count: " + step);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user