[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:
Graham Triggs
2010-10-26 20:50:52 +00:00
parent 787b928fd5
commit 5a2be0346d
22 changed files with 58 additions and 81 deletions

View File

@@ -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