mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +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);
|
||||
break;
|
||||
default:
|
||||
new IllegalAccessException("Illegal step count: " + step);
|
||||
throw new IllegalArgumentException("Illegal step count: " + step);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user