[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

@@ -115,7 +115,7 @@ public class HandleDispatcher implements BitstreamDispatcher
catch (SQLException e)
{
LOG.error("init error " + e.getMessage(), e);
throw new RuntimeException("init error" + e.getMessage(), e);
throw new IllegalStateException("init error" + e.getMessage(), e);
}
finally