mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -543,6 +543,10 @@ public abstract class AbstractContentReader extends AbstractContentAccessor impl
|
|||||||
// done
|
// done
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
catch (ArchivedIOException e)
|
||||||
|
{
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
throw new ContentIOException("Failed to copy content to string: \n" +
|
throw new ContentIOException("Failed to copy content to string: \n" +
|
||||||
|
Reference in New Issue
Block a user