You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2016/12/22 14:09:58 UTC

[jira] [Created] (TIKA-2226) Add UnsupportedFormatException (extends TikaException)

Tim Allison created TIKA-2226:
---------------------------------

             Summary: Add UnsupportedFormatException (extends TikaException)
                 Key: TIKA-2226
                 URL: https://issues.apache.org/jira/browse/TIKA-2226
             Project: Tika
          Issue Type: Improvement
            Reporter: Tim Allison


It would be handy to have an UnsupportedFormatException to handle those cases where one mime type covers different versions, and the relevant parser only handles a subset.

When possible, we should try to differentiate by mime type, however, if there really is one mime for different versions, or if we have to rely on the parser to determine format version (e.g. when magic isn't enough), parsers should throw this Exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)