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:
Tim Donohue
2008-07-30 22:03:08 +00:00
parent 3755fac3b3
commit aa50995881

View File

@@ -296,7 +296,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;
}
}
}
@@ -331,7 +333,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;
}
}
}