commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <>
Subject [jira] Commented: (IO-148) IOException with constructors which take a cause
Date Fri, 04 Jan 2008 04:35:34 GMT


Jukka Zitting commented on IO-148:

No worries about the svn copy, I'm not too attached on my version of the class. :-)

IOExceptionWithCause sounds good. With CauseIOException I was trying (clumsily, I admit) to
keep the class name as a kind of a compound word. ExtendedIOException would also work, but
IOExceptionWithCause is more accurate.

I'm with Gary on that a String-only constructor is not needed. In fact it might even be worth
it to enforce that such an exception always comes with a non-null root cause exception. 

> 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