[ 
https://issues.apache.org/jira/browse/TIKA-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niall Pemberton updated TIKA-104:
---------------------------------

    Attachment: TIKA-104-throwIOException-v1.patch

Attaching a patch which adds new throwIOException() method to the Utils class - 
and modifies PDF2XHTML and AppendableAdaptor to use the new methods. Please 
note the a new "utils" directory in the test source needs to be added before 
this patch can be applied.

> Add utility methods to throw IOException with the caused intialized
> -------------------------------------------------------------------
>
>                 Key: TIKA-104
>                 URL: https://issues.apache.org/jira/browse/TIKA-104
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>            Reporter: Niall Pemberton
>            Priority: Minor
>         Attachments: TIKA-104-throwIOException-v1.patch
>
>
> The constructors with a Throwable cause were not added until JDK 1.6 - I 
> suggest adding a utility method to intialize the cause in the IOException.
> This can be used to revert r596143[1] (and similar situation in 
> AppendableApdaptor) so that the cause is not swallowed.
> [1] http://svn.apache.org/viewvc?view=rev&revision=596143

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