commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <>
Subject [jira] Commented: (IO-148) IOException with constructors which take a cause
Date Fri, 21 Dec 2007 22:52:43 GMT


Gary Gregory commented on IO-148:

I've committed a first cut with only one constructor implemented. I do not see the need for
the String only constructor since the point of the class is to support a cause. If you want
to build an IOException with a String message why not just use IOException?

I've named the class CausedIOException, for now. More name discussion?

> IOException with constructors which take a cause
> ------------------------------------------------
>                 Key: IO-148
>                 URL:
>             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:

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

View raw message