Better distinction between IOException and TikaException
--------------------------------------------------------

                 Key: TIKA-198
                 URL: https://issues.apache.org/jira/browse/TIKA-198
             Project: Tika
          Issue Type: Improvement
          Components: parser
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor


As discussed on the mailing list 
(http://markmail.org/message/qspwa2nqq5fksccs), many parser libraries throw 
IOExceptions even for errors that are not caused by problems reading bytes from 
the given document input stream. Tika should do a better job of catching such 
exceptions and converting them to TikaExceptions to better meet the Parser 
interface contract.

In Commons IO I just added a TaggedInputStream class (see IO-192) that is 
designed for better handling such cases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to