mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 03:23:13 +00:00
[DS-707] Exception handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5661 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1177,7 +1177,7 @@ public class Collection extends DSpaceObject
|
||||
{
|
||||
// FIXME: upside down exception handling due to lack of good
|
||||
// exception framework
|
||||
throw new RuntimeException(e.getMessage(), e);
|
||||
throw new IllegalStateException(e.getMessage(), e);
|
||||
}
|
||||
|
||||
// Remove any Handle
|
||||
|
Reference in New Issue
Block a user