mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
Fixing Java 6 specific IOException constructor in previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3018 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -296,7 +296,9 @@ public class ContainerAdapter extends AbstractAdapter
|
|||||||
}
|
}
|
||||||
catch(ItemCountException e)
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -331,7 +333,9 @@ public class ContainerAdapter extends AbstractAdapter
|
|||||||
}
|
}
|
||||||
catch(ItemCountException e)
|
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