Tim Allison created TIKA-2307:
---------------------------------
Summary: Accidentally swallowing UnsupportedZipFeatureException in
rare cases
Key: TIKA-2307
URL: https://issues.apache.org/jira/browse/TIKA-2307
Project: Tika
Issue Type: Bug
Components: parser
Reporter: Tim Allison
Priority: Trivial
It looks from this comment in the PackageParser that we mean to re-throw this
exception, but we aren't.
{noformat}
catch (UnsupportedZipFeatureException zfe) {
// If it's an encrypted document of unknown password, report as such
if (zfe.getFeature() == Feature.ENCRYPTION) {
throw new EncryptedDocumentException(zfe);
}
// Otherwise fall through to raise the exception as normal
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)