[
https://issues.apache.org/jira/browse/IO-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554060
]
Niall Pemberton commented on IO-148:
------------------------------------
Would have been nice to svn:copy the original from Tika - that way Jukka is
credited in the svn history - adding wipes that out.
On the constructors - it should have the missing (pre-JDK1.6) two "Throwable"
constructors as a minimum:
CausedIOException(String, Throwable)
CausedIOException(Throwable)
...but I don't see any harm adding all four (default and String) for
completeness
> IOException with constructors which take a cause
> ------------------------------------------------
>
> Key: IO-148
> URL: https://issues.apache.org/jira/browse/IO-148
> Project: Commons IO
> Issue Type: New Feature
> Reporter: Niall Pemberton
> Priority: Minor
> Fix For: 1.4
>
>
> Add an IOException implementation that has constructors which take a cause
> (see TIKA-104). Constructors which take a cause (Throwable) were not added to
> IOException until JDK 1.6 but the initCause() method was added to Throwable
> in JDK 1.4.
> We should copy the Tika implementation and test case here:
> http://svn.apache.org/repos/asf/incubator/tika/trunk/src/main/java/org/apache/tika/exception/CauseIOException.java
> http://svn.apache.org/repos/asf/incubator/tika/trunk/src/test/java/org/apache/tika/exception/CauseIOExceptionTest.java
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.