[ 
https://issues.apache.org/jira/browse/TIKA-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770128#comment-15770128
 ] 

Tim Allison commented on TIKA-2226:
-----------------------------------

Not sure how we want to handle cases where the format is handled, but 
encryption for that format is not handled.  Should the parser throw an 
EncryptedDocumentException or an UnsupportedFormatException, or do we want to 
add an EncryptionNotSupportedException (extends UnsupportedFormatException)?

> 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)

Reply via email to