6881498: (file) Re-examine DirectoryStream exception handling

Rémi Forax forax at univ-mlv.fr
Fri Sep 10 08:40:05 PDT 2010


Le 10/09/2010 17:29, Alan Bateman a écrit :
> Rémi Forax wrote:
>> :
>> Looks good.
>> Only one comment, DirectoryIteratorException should have a 
>> constructor that
>> takes an IOException and a message.
>> Some implementations may want to provide a specific message.
>>
>> Rémi
> Thanks for reviewing this. I didn't include a second constructor as 
> this is a very specific exception and the detail is in the required 
> cause. Maybe for consistency it should be added. If it's okay with 
> you, I'll push what we have now and create a bug to track thinking 
> about this one.

Okay

>
> -Alan.

Rémi



More information about the nio-dev mailing list