[DS-707] Stack trace loss in exceptions

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2010-10-22 15:21:30 +00:00
parent b01b162175
commit f6d16fe023
47 changed files with 100 additions and 86 deletions

View File

@@ -1934,7 +1934,7 @@ public class Item extends DSpaceObject
catch (BrowseException e)
{
log.error("caught exception: ", e);
throw new SQLException(e.getMessage());
throw new SQLException(e.getMessage(), e);
}
// Delete the Dublin Core