mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Fixing Java 6 specific IOException constructor in previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3017 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -304,7 +304,9 @@ public class ContainerAdapter extends AbstractAdapter
|
||||
}
|
||||
catch(ItemCountException e)
|
||||
{
|
||||
throw new IOException("Could not obtain Collection item-count: ", e);
|
||||
IOException ioe = new IOException("Could not obtain Collection item-count");
|
||||
ioe.initCause(e);
|
||||
throw ioe;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -338,7 +340,9 @@ public class ContainerAdapter extends AbstractAdapter
|
||||
}
|
||||
catch(ItemCountException e)
|
||||
{
|
||||
throw new IOException("Could not obtain Community item-count: ", e);
|
||||
IOException ioe = new IOException("Could not obtain Collection item-count");
|
||||
ioe.initCause(e);
|
||||
throw ioe;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user