ACS-222 Add missing ArchivedIOException throw (#812)

The getContentString() method catches all Exceptions and re-throws as a
custom ContentIOException. We want ArchivedIOExceptions re-thrown.
This commit is contained in:
David Edwards
2021-11-22 12:58:02 +00:00
committed by GitHub
parent 512540e32e
commit f212e8ff81

View File

@@ -543,6 +543,10 @@ public abstract class AbstractContentReader extends AbstractContentAccessor impl
// done
return content;
}
catch (ArchivedIOException e)
{
throw e;
}
catch (Exception e)
{
throw new ContentIOException("Failed to copy content to string: \n" +